Page 1 of 1

Resolution problems

Posted: 2009-03-05T20:28:14-07:00
by hson
I'm having some problems with the resolution of some images when mounting them in InDesign.

What I try to do is convert a large image to a smaller one with size max 700x700 pixels and set to 72DPI.

The original image have the following properties:

Code: Select all

  Geometry: 7323x5315
...
  Resolution: 300x300
  Units: PixelsPerInch
...
    X Resolution: 3000000/10000
    Y Resolution: 3000000/10000
I run the following command to convert the original image

Code: Select all

convert GT6030.1.jpg -filter Lanczos -resize 700x700 -quality 85 -density 72x72 GT6030_out.jpg
When checking the output image with

Code: Select all

identify -verbose |grep Resolution 
I get some different output depending on ImageMagick version (all versions compiled with exact same options on the same machine and installed in separate directories).

6.2.9-8 and 6.3.0-7 :

Code: Select all

  Resolution: 300x300
    X Resolution: 3000000/10000
    Y Resolution: 3000000/10000
    Resolution Unit: 2
6.3.1-7 :

Code: Select all

  Resolution: 72x72
6.3.2-9, 6.3.3-10 and 6.3.4-10 :

Code: Select all

  Resolution: 72x72
  Exif:ResolutionUnit: 2
  Exif:XResolution: 72/1
  Exif:YResolution: 72/1
6.3.5-10 :

Code: Select all

  Resolution: 300x300
  Exif:ResolutionUnit: 2
  Exif:XResolution: 72/1
  Exif:YResolution: 72/1
6.3.6-10, 6.3.8-11, :

Code: Select all

  Resolution: 300x300
  Exif:ResolutionUnit: 2
  Exif:XResolution: 72/10000
  Exif:YResolution: 72/10000
6.3.9-10 and 6.4.0-11 :

Code: Select all

  Resolution: 300x300
    exif:ResolutionUnit: 2
    exif:XResolution: 72/10000
    exif:YResolution: 72/10000
6.4.2-10 :

Code: Select all

  Resolution: 0.0072x0.0072
    exif:ResolutionUnit: 2
    exif:XResolution: 72/10000
    exif:YResolution: 72/10000
6.4.3-10, 6.4.4-10 :

Code: Select all

  Resolution: 0.03x0.03
    exif:ResolutionUnit: 2
    exif:XResolution: 300/10000
    exif:YResolution: 300/10000
6.4.5-9 :

Code: Select all

  Resolution: 0.03x300
    exif:ResolutionUnit: 2
    exif:XResolution: 300/10000
    exif:YResolution: 300/1
6.4.6-9, 6.4.7-10, 6.4.8-10 and 6.4.9-8 :

Code: Select all

  Resolution: 0.0072x72
    exif:ResolutionUnit: 2
    exif:XResolution: 72/10000
    exif:YResolution: 72/1
Am I doing something wrong or is this irradic behavior usual?

Re: Resolution problems

Posted: 2009-03-09T15:24:18-07:00
by anthony
The erratic behavior is in response to bugs problems and queries. Basically Cristy (Magick) attempts to improve or fix things according to bug reports, and as a result the output here changes.

If you don't want this then try to figure out what SHOULD be output, not just for you but for everyone and look/fix at the code.