Page 1 of 1

Resolution and image ratio ... ?

Posted: 2007-08-06T05:37:05-07:00
by dbee
So if I have some images in a folder and I want to change their resolution to 72dpi ?

Code: Select all

convert myfolder/* -density 72x72
Now if I want all the images greater than 100px height to keep their aspect ratio but have a height 100 px ?

Code: Select all

convert myfolder/* -density 72x72 -resize x100>

Re: Resolution and image ratio ... ?

Posted: 2007-08-12T22:08:53-07:00
by anthony
Try mogrify rather than convert... Warning mogrify is dangerious. keep a backup copy.

http://www.imagemagick.org/Usage/basics/#mogrify