Page 1 of 1

Cannot display EXIF JPG for the life of me...

Posted: 2007-08-16T12:31:50-07:00
by agranov
I'm building the 6.3.3 release on Debian Linux and am having zero luck displaying jpg files with EXIF data. I see that the old 5.5.x release used to require '--with-exif=yes' for exif support but this appears to have been removed for 6.x.

My configure command-line is the following:
./configure --prefix=/usr --enable-shared --disable-static --with-modules --with-quantum-depth=8 --enable-lzw=yes --with-bzlib=yes --with-dps=yes --with-djvu=yes --with-freetype=yes --with-jpeg=yes --with-lcms=yes --with-png=yes --with-tiff=yes --with-wmf=yes --with-x=yes --with-xml=yes

Can anyone offer any help here?

thanks,
Alex

Re: Cannot display EXIF JPG for the life of me...

Posted: 2007-08-16T13:15:58-07:00
by Bonzo
What code are you using ? are you getting any output ?

This code works for me on my server:

Code: Select all

identify -format \"%[EXIF:Make]\" sunflower.jpg

Re: Cannot display EXIF JPG for the life of me...

Posted: 2007-08-16T13:32:15-07:00
by agranov
To test, I'm simply using the provided 'display' command to try to view the image. 'display' gives me nothing but a completely white graphic. Opening via 'gimp' I can see the image fine.

As a side note, I tried building 6.3.5 and instead of an all white graphic, I get an all black graphic. ;-(

plain 'identify' gives me: <image file> JPEG 347x139 347x139+0+0 DirectClass 8-bit 574.092kb

'file' command gives me: <image file>: JPEG image data, EXIF standard

your 'identify' format params do not seem to be working for me so I tried 'identify -verbose <file> |grep Exif' and get:


Exif:ColorSpace: 65535
Exif:Compression: 6
Exif:DateTime: 2005:08:24 16:11:33
Exif:ExifImageLength: 139
Exif:ExifImageWidth: 347
Exif:ExifOffset: 164
Exif:JPEGInterchangeFormat: 302
Exif:JPEGInterchangeFormatLength: 2374
Exif:Orientation: 1
Exif:ResolutionUnit: 2
Exif:Software: Adobe Photoshop CS Macintosh
Exif:XResolution: 72/1
Exif:YResolution: 72/1

btw - it did occur to me that the 16-bit colorspace of this CMYK format might require a rebuild with '--quantum-depth=16' (rather than depending on -quantize option to 'display') but doing this didn't seem to resolve the issue either.

-alex