Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Mogrify unrecognized option resize-to-fit #39
Hi @janko-m ,
First of all, thanks for this great gem! (:
Maybe it is an issue related with ActiveStorage, but I decided to post here, since you are the man of Image Processing that added the macros to ActiveStorage. Sorry if this is not the right place for it.
I tried to simulate on console, but there I need to call
Now when a call
Could you, please, help me?
Active Storage 5.2 still uses MiniMagick directly, so there are no
Came here after accidentally applying the edge Rails guides to non-edge Rails (5.2).
Sorry last comment -
auto_orient is done by default by ImageProcessing, but you have to manually set it with Mogrify. I find when uploading images taken with a cell phone, in the portrait position, the image will be displayed in landscape. This operator reads and resets the EXIF image profile setting 'Orientation' and then performs the appropriate 90 degree rotation on the image to orient the image, for correct viewing. ImageMagick - auto-orient
The +0+0 argument in the crop is actually unnecessary, as it is the default. It specifies the offset to use. ImageMagick - Image Geometry
Hope this helps. Happy coding