Help: converted jpegs have a resolution of 1.
Posted: 2009-11-22T18:51:02-07:00
I've been using mogrify on a PPC Mac OS 10.4. A common operation I do to is to prep files for a commercial photo web page generator is something like:
mogrify -geometry 700x700 *
Works perfectly ... till now. I've upgraded to a new Intel iMac running OS 10.6. I migrated apps, files from a 10.5 laptop that has ImageMagick 6.3.3. I've never checked this out thoroughly, though, till now.
Now I give the same mogrify command and it does produce 700 pixel max dimension files but with 1 dpi. On the old machine, I got something like 180 dpi by default.
I know the dpi isn't supposed to matter but it totally screws up the appearance of files in the photo to web app - the images are invisible instead of being 700 pixels.
I've tried things like: convert -density 300 my.jpg tom.jpg. This should take a 300 dpi file and give back a 300 dpi file, right? I get the same dimensions in pixels, but tom.jpg has only 1 dpi.
Finally, I've done conversions from jpg to png and the pngs have a reasonable dpi. If convert the png back to jpg, I'll get 1 dpi, though.
I guess I can do a complete install of the latest ImageMagick version, but I'd rather not if possible.
Thanks in advance for any suggestions.
mogrify -geometry 700x700 *
Works perfectly ... till now. I've upgraded to a new Intel iMac running OS 10.6. I migrated apps, files from a 10.5 laptop that has ImageMagick 6.3.3. I've never checked this out thoroughly, though, till now.
Now I give the same mogrify command and it does produce 700 pixel max dimension files but with 1 dpi. On the old machine, I got something like 180 dpi by default.
I know the dpi isn't supposed to matter but it totally screws up the appearance of files in the photo to web app - the images are invisible instead of being 700 pixels.
I've tried things like: convert -density 300 my.jpg tom.jpg. This should take a 300 dpi file and give back a 300 dpi file, right? I get the same dimensions in pixels, but tom.jpg has only 1 dpi.
Finally, I've done conversions from jpg to png and the pngs have a reasonable dpi. If convert the png back to jpg, I'll get 1 dpi, though.
I guess I can do a complete install of the latest ImageMagick version, but I'd rather not if possible.
Thanks in advance for any suggestions.