Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resize/Crop with Imagick #14

Closed
wordsongoku opened this issue Apr 27, 2014 · 1 comment
Closed

Resize/Crop with Imagick #14

wordsongoku opened this issue Apr 27, 2014 · 1 comment

Comments

@wordsongoku
Copy link

Hi,

first of all thank you for this great script. I'm trying to save the cropped and resized file to my server. I'm using Imagick for this. For some reason it seems not to work properly tough. I'm using:

$cropImage->cropImage($cropW, $cropH, $imgX1, $imgY1);

It resizes the image to the given width and height, but for X and Y it seems to always use 0, as I can move the image around where I want but it always gives me the same image area as output.

What am I doing wrong?

Thank you

@mystycs
Copy link

mystycs commented Jul 21, 2017

Possible to share the code for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants