jenssegers/codeigniter-advanced-images

Center of Image Cropping

Opened this issue · 0 comments

Hi,

I dont understand how works the overwriting of the center of the crop. Where it can be modified ( outside the lib itself where I tested it ) and why it is mentionned as below : set the X coodinate AFTER cropping ?!!

After cropping the image dimensions are as requested so the center should not be changed ?!
When I test it, I got black portions in my pic...

Thanks for your help,

FX

x_axis: Sets the X coordinate in pixels (after resizing) for image cropping. For example, a setting of 30 will crop an image 30 pixels from the left.