Page 1 of 1

Convert creates duplicates

Posted: 2017-05-05T07:46:32-07:00
by betadraconis
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?

Re: Convert creates duplicates

Posted: 2017-05-05T08:26:53-07:00
by snibgo
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".