Here's the command I'm using:
convert -density 144 -units PixelsPerInch *.jpg
I need my images to be at least 144 DPI and the script does the job, but it always creates a duplicate image rather than just tweaking the image.
I tried using this in the command line:
convert -density "144>" -units PixelsPerInch *.jpg
It still made duplicates! I just want imagemagick's "convert" to adjust the DPI without creating extra images. Is this possible?
Convert creates duplicates
-
- Posts: 1
- Joined: 2017-05-05T06:26:44-07:00
- Authentication code: 1151
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Convert creates duplicates
Your syntax is wrong. For "convert", you should: name the input file(s), give the processing, and name the output file(s).
The syntax you give is roughly correct for "mogrify", not "convert".
The syntax you give is roughly correct for "mogrify", not "convert".
snibgo's IM pages: im.snibgo.com