Page 1 of 1

Resolutions and dimensions

Posted: 2013-10-22T07:08:33-07:00
by andrefaria
I have a directory with several images with different resolutions and dimensions.
I would like to standardize them at 72 dpi and with 300 px longest side with preserving the aspect ratio.
What should I do?
Thank you.

Re: Resolutions and dimensions

Posted: 2013-10-22T10:16:05-07:00
by fmw42

Code: Select all

convert image -resize 300x300 -density 72 -units pixelsperinch result
see
http://www.imagemagick.org/script/comma ... p#geometry