Ref: ImageMagick-7.0.8-64-Q16-x64-dll
Hello all,
I am trying to restrict the height of a directory of .jpg files to 1080px on the vertical axis and to leave untouched those already within that boundary. The logic is to check all .jpg files with a vertical height greater than 1080px and reduce those above that dimension to 1080px while maintaining the aspect ratio (thereby flexing the horizontal axis), and save to the original filename. I have met with no luck so far...
My first command was: Magick Mogrify *.jpg -resize 'x1080>'
which resulted in a syntax error. After reviewing examples found online I ended up with the following command which was syntax-error free:
Magick Mogrify *.jpg -resize x1080
However, this command resulted in no changes to the files. What am I doing wrong???
Mogrify Resize has no effect
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Mogrify Resize has no effect
See documentation at http://www.imagemagick.org/script/mogrify.php
Your syntax is wrong. Put "*.jpg" at the end.
Your syntax is wrong. Put "*.jpg" at the end.
snibgo's IM pages: im.snibgo.com
Re: Mogrify Resize has no effect
That did the trick, Thx!