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.
Resolutions and dimensions
-
- Posts: 3
- Joined: 2013-10-17T10:39:09-07:00
- Authentication code: 6789
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Resolutions and dimensions
Code: Select all
convert image -resize 300x300 -density 72 -units pixelsperinch result
http://www.imagemagick.org/script/comma ... p#geometry