[solved] ppi conversion not working for me

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
jonrescca
Posts: 8
Joined: 2011-11-09T00:25:50-07:00
Authentication code: 8675308

[solved] ppi conversion not working for me

Post 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?
Last edited by jonrescca on 2012-04-06T02:55:00-07:00, edited 1 time in total.
jonrescca
Posts: 8
Joined: 2011-11-09T00:25:50-07:00
Authentication code: 8675308

Re: ppi conversion not working for me

Post by jonrescca »

Stupid me, I shoot in the original exif data somewhere further down this script, and that replaces the 400ppi setting I wanted...
Post Reply