Page 1 of 1

[solved] ppi conversion not working for me

Posted: 2012-04-06T00:18:38-07:00
by jonrescca
Hi All,

I'm about to run a batch on converting 300ppi tiff files to a bunch of jpg's at 400ppi, but somehow that doesn't work for the following command:

Code: Select all

convert -units PixelsPerInch input.tif -quiet -gravity West -crop 51.0000x100%+0+0 -quality 95 -unsharp 0.8x1.1+0.8+0 +profile 8bim -density 400 output.jpg
When trying to generate an plain jpg at 400ppi, that works fine:

Code: Select all

convert -units PixelsPerInch input.tif +profile "8bim" -density 400 output.jpg
Anyone a hint on what is wrong on the first command?

Re: ppi conversion not working for me

Posted: 2012-04-06T02:54:36-07:00
by jonrescca
Stupid me, I shoot in the original exif data somewhere further down this script, and that replaces the 400ppi setting I wanted...