Hello,

I have ImageMagick on my MacOSX development machine and I have it also installed on a linux server When I run identify to get the resolution on the same picture on the two machines it gives me different results.


mac:
fluse:~ cf$ identify -version
Version: ImageMagick 6.3.6 10/12/07 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC

fluse:~ cf$ identify -format %x -units PixelsPerInch 9783867420013.jpg
300 PixelsPerInch


linux:
(13:00:06) [~] identify -version
Version: ImageMagick 6.3.5 10/25/07 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC

(13:06:07) [~] identify -format %x -units PixelsPerInch 9783867420013.jpg
72 PixelsPerInch

The picture files are identical. I copied the file via scp from mac to linux. They have the same size in bytes on both machines. When I copy it back from linux to mac and run identify again, I get 300 dpi again. Photoshop on the mac shows my 300dpi for the picture as well.


anyone know why this results in different resolution values?

Regards
christoph


PS: I attach the results of identify -verbose below

mac:
fluse:~ cf$ identify -verbose 9783867420013.jpg
Image: 9783867420013.jpg
  Format: JPEG (Joint Photographic Experts Group JFIF format)
  Class: DirectClass
  Geometry: 827x744+0+0
  Type: TrueColor
  Endianess: Undefined
  Colorspace: RGB
  Depth: 8-bit
  Channel depth:
    Red: 8-bit
    Green: 8-bit
    Blue: 8-bit
  Channel statistics:
    Red:
      Min: 0 (0)
      Max: 255 (1)
      Mean: 143.545 (0.562921)
      Standard deviation: 71.4095 (0.280037)
    Green:
      Min: 0 (0)
      Max: 255 (1)
      Mean: 151.912 (0.595733)
      Standard deviation: 63.1374 (0.247598)
    Blue:
      Min: 0 (0)
      Max: 255 (1)
      Mean: 135.421 (0.531061)
      Standard deviation: 64.5181 (0.253012)
  Rendering intent: Undefined
  Resolution: 300x300
  Units: undefined
  Filesize: 413.441kb
  Interlace: JPEG
  Background color: white
  Border color: rgb(223,223,223)
  Matte color: grey74
  Transparent color: black
  Page geometry: 827x744+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: JPEG
  Quality: 99
  Orientation: TopLeft
  Exif:ColorSpace: 65535
  Exif:Compression: 6
  Exif:DateTime: 2007:12:14 13:39:55
  Exif:ExifImageLength: 744
  Exif:ExifImageWidth: 827
  Exif:ExifOffset: 164
  Exif:JPEGInterchangeFormat: 302
  Exif:JPEGInterchangeFormatLength: 8471
  Exif:Orientation: 1
  Exif:ResolutionUnit: 2
  Exif:Software: Adobe Photoshop CS2 Macintosh
  Exif:XResolution: 3000000/10000
  EXIF:YResolution: 3000000/10000
  Jpeg:colorspace: 2
  Jpeg:sampling-factor: 1x1,1x1,1x1
  Rdf:about:
Signature: 2e510aea825936cae9c81498ccd3be9acc70dfc934a3e190b5fc27078dcd3497
  Xmlns:xap: http://ns.adobe.com/xap/1.0/
  Profile-8bim: 19240 bytes
  Profile-exif: 8779 bytes
  Profile-xmp: 15036 bytes
  Tainted: False
  Version: ImageMagick 6.3.6 10/12/07 Q16 http://www.imagemagick.org





linux:
--------------------------
(13:06:55) [~] identify -format %x -units PixelsPerInch 9783867420013.jpg
72 PixelsPerInch
(13:25:41) [~] identify -verbose 9783867420013.jpg
Image: 9783867420013.jpg
  Format: JPEG (Joint Photographic Experts Group JFIF format)
  Class: DirectClass
  Geometry: 827x744+0+0
  Type: TrueColor
  Endianess: Undefined
  Colorspace: RGB
  Depth: 8-bit
  Channel depth:
    Red: 8-bit
    Green: 8-bit
    Blue: 8-bit
  Channel statistics:
    Red:
      Min: 0 (0)
      Max: 255 (1)
      Mean: 143.545 (0.562921)
      Standard deviation: 71.4095 (0.280037)
    Green:
      Min: 0 (0)
      Max: 255 (1)
      Mean: 151.912 (0.595733)
      Standard deviation: 63.1374 (0.247598)
    Blue:
      Min: 0 (0)
      Max: 255 (1)
      Mean: 135.421 (0.531061)
      Standard deviation: 64.5181 (0.253012)
  Rendering intent: Undefined
  Resolution: 72x72
  Units: undefined
  Filesize: 413.441kb
  Interlace: JPEG
  Background color: white
  Border color: rgb(223,223,223)
  Matte color: grey74
  Transparent color: black
  Page geometry: 827x744+0+0
  Dispose: Undefined
  Iterations: 0
  Compression: Bumpmap
  Quality: 99
  Orientation: TopLeft
  Exif:ColorSpace: 65535
  Exif:Compression: 6
  Exif:DateTime: 2007:12:14 13:39:55
  Exif:ExifImageLength: 744
  Exif:ExifImageWidth: 827
  Exif:ExifOffset: 164
  Exif:JPEGInterchangeFormat: 302
  Exif:JPEGInterchangeFormatLength: 8471
  Exif:Orientation: 1
  Exif:ResolutionUnit: 2
  Exif:Software: Adobe Photoshop CS2 Macintosh
  Exif:XResolution: 72/1
  Exif:YResolution: 72/1
  Jpeg:colorspace: 2
  Jpeg:sampling-factor: 1x1,1x1,1x1
  Rdf:about:
Signature: 307336d3329ba618372e04e84db9e07cd2120b92f43f59ec4d5f4bb1b5c7bdf2
  Xmlns:xap: http://ns.adobe.com/xap/1.0/
  Profile-8bim: 19240 bytes
  Profile-exif: 8779 bytes
  Profile-xmp: 15036 bytes
  Tainted: False
  Version: ImageMagick 6.3.5 10/25/07 Q16 http://www.imagemagick.org


_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to