-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
Enhancement: magick:gravity:<value> #254
Comments
@envygeeks, I didn't want to start a new issue for this but after this was added I wanted to test the proxy. Currently I'm just using it like:
Mini Magick suggests combining options which is looks like
However my images are still being cropped from the top left corner. Image Magick suggests the following for cropping from the center:
Which is why I thought |
We only pass-through options. If it's not working as expected that seems like a Minimagic bug to me, if it expects them in a certain order that again is a mini-magic problem because this is Ruby, we have no way to guarantee a hash will come in a specific order and adhering to such a crazy idiom is something we will never do (as it's up to them to order it the way they want if they expect that.) That said, I see a disparity between what ImageMagick wants and what you send. They use "Center" you use "center", in my experience ImageMagick is pretty strict about what it wants (for good reason since it's a complicated piece of software that has wrappers for it's wrappers to make it easier.) |
@envygeeks, Thanks for the quick response. I wish it was the I may send Mini Magick a message just to see if that is the case. Push comes to shove I guess I'll have to do some manual image manipulation but I guess things could be worse. Not sure how you want to proceed but if that's the case I can't see a real use for |
@envygeeks What are your thoughts about this? He also suggested a possible solution #362. Thanks for your help this far. |
Would be nice to be able to set the gravity of the crop (
magick:gravity:center
) so you could do center crops withmagick:crop:400x300+0+0
for example.The text was updated successfully, but these errors were encountered: