<?php min(mixed $value, mixed ...$values): mixed
<?php return $this; } $alpha = min($x, $y); $omega = max($x, $y); if ($value < $alpha || $value > $omega) {
<?php } if ($color->differs($checkColor, $tolerance)) { $bottom_y = min($height, $y+1 + $feather); break 2; }
<?php } if ($color->differs($checkColor, $tolerance)) { $bottom_x = min($width, $x+1 + $feather); break 2; }
<?php } $crop_width = min($width, ($crop_width + $feather * 2)); $crop_height = min($height, ($crop_height + $feather * 2)); $crop_x = max(0, ($crop_x - $feather)); $crop_y = max(0, ($crop_y - $feather));
<?php $crop_width = min($width, ($crop_width + $feather * 2)); $crop_height = min($height, ($crop_height + $feather * 2)); $crop_x = max(0, ($crop_x - $feather)); $crop_y = max(0, ($crop_y - $feather));