Help: converted jpegs have a resolution of 1.

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
therbert

Help: converted jpegs have a resolution of 1.

Post by therbert »

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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Help: converted jpegs have a resolution of 1.

Post by magick »

Try the latest release of ImageMagick, 6.5.7-10. If that fails, we will investigate further. In general we cannot fix a problem unless we can reproduce it.
therbert

Re: Help: converted jpegs have a resolution of 1.

Post by therbert »

After a bit of a long odyssey, installing the latest compilers and making the latest Imagemagick, I now have a properly working mogrify. I don't know what happened but ImageMagick seems to be working fine again.
Post Reply