What is the proper syntax to use when using command-line when try to do the following:
mogrify -units PixelsPerInch
I want to change the resolution of a 300 dpi image to 72 dpi
Thanks,
Jeff
Syntax for command line
-
- Posts: 13
- Joined: 2011-03-08T17:34:27-07:00
- Authentication code: 8675308
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Syntax for command line
see http://www.imagemagick.org/Usage/basics/#mogrify
something like:
mogrify -units pixelsperinch -density 72 -format jpg *.jpg
give the above a try and see if that works. However, I recommend using -path to put the new images in a new folder, so you have not overwritten the old ones with something that did not work the way you want.
but also see viewtopic.php?f=2&t=18241#p69728, which may not carry over to mogrify.
something like:
mogrify -units pixelsperinch -density 72 -format jpg *.jpg
give the above a try and see if that works. However, I recommend using -path to put the new images in a new folder, so you have not overwritten the old ones with something that did not work the way you want.
but also see viewtopic.php?f=2&t=18241#p69728, which may not carry over to mogrify.
-
- Posts: 13
- Joined: 2011-03-08T17:34:27-07:00
- Authentication code: 8675308
Re: Syntax for command line
Thank you very much. That worked great! Still trying to learn the syntax I need to be using.
Jeff
Jeff
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Syntax for command line
for convert syntax see
http://www.imagemagick.org/Usage/basics/#cmdline
http://www.imagemagick.org/script/comma ... essing.php
for mogrify see
http://www.imagemagick.org/Usage/basics/#mogrify
General reading and examples at:
http://www.imagemagick.org/Usage/
http://www.imagemagick.org/Usage/basics/#cmdline
http://www.imagemagick.org/script/comma ... essing.php
for mogrify see
http://www.imagemagick.org/Usage/basics/#mogrify
General reading and examples at:
http://www.imagemagick.org/Usage/