Re: [magick-users] Loss of JPEG resolution info
"DeltaTom" <[email protected]> Wed, 30 Apr 2003 20:08:04 -0700
| Newsgroups | gmane.comp.video.graphicsmagick.announce |
|---|---|
| Message-ID | <018701c30f8e$e215ad70$0e6a7f42__9341.70972691408$1051758869@CCDesk> |
----- Original Message ----- From: "Bob Friesenhahn" <[email protected]> To: <[email protected]>; <[email protected]> Sent: Wednesday, April 30, 2003 6:47 PM Subject: [magick-users] Loss of JPEG resolution info > Today we discovered ..but by definition, everyone using it has been discovering this and seems to be living with it. > that ImageMagick (and GraphicsMagick) have > silently been loosing the resolution of JPEG files for at least two or > three years, or perhaps even as long as ImageMagick has supported > JPEG. The resolution was always set to 72 DPI unless it was > overridden with -density. > > The simple command > > convert in.jpg out.jpg > > would loose the original resolution. For example, if in.jpg was 300 > DPI, out.jpg would be indicated to be 72 DPI. Sounds fine to me. > > Does anyone see any negative side-effects that might be caused by > fixing this problem? > > Bob 72 is a reasonable default. ..the current behavior seems reasonable as I understand you. I wouldn't change the default behavior. I would suggest adding: - density keep To force it to keep the original image's DPI. And perhaps options like resize has with < > % etc. perhaps already supported. ..but your call, course. Tom Bishop ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf