Currently, when cropping a image, you always start at 0|0. Would be great if you could add the additional option to crop a different area.
Something like:
public function resize(
$max_width,
$max_height,
$method="fit",
$cropAreaLeftRight="c",
$cropAreaBottomTop="c",
$jpgQuality=75,
$dst_x=0,
$dst_y=0
) {
You could also check if is_numeric($cropAreaLeftRight) and is_numeric($cropAreaBottomTop) and when they are both numeric use those values for positioning the cropping area.
Currently, when cropping a image, you always start at 0|0. Would be great if you could add the additional option to crop a different area. Something like:
You could also check if is_numeric($cropAreaLeftRight) and is_numeric($cropAreaBottomTop) and when they are both numeric use those values for positioning the cropping area.