Page 1 of 1

TIFFReadEXIFDirectory=no in configure

Posted: 2012-12-04T01:58:59-07:00
by rgra
Hello,

what libraries or configuration am I missing when I execute configure for the latest ImageMagick (6.8.0-5) source and get the following output:

Code: Select all

checking for TIFF...                    
checking tiff.h usability... yes        
checking tiff.h presence... yes         
checking for tiff.h... yes              
checking tiffio.h usability... yes               
checking tiffio.h presence... yes                
checking for tiffio.h... yes                     
checking for TIFFOpen in -ltiff... yes           
checking for TIFFClientOpen in -ltiff... yes     
checking for TIFFIsByteSwapped in -ltiff... yes  
checking for TIFFReadRGBATile in -ltiff... yes   
checking for TIFFReadRGBAStrip in -ltiff... yes  
checking if TIFF package is complete... yes      
checking tiffconf.h usability... yes             
checking tiffconf.h presence... yes              
checking for tiffconf.h... yes                   
checking for TIFFIsCODECConfigured... yes        
checking for TIFFMergeFieldInfo... yes           
checking for TIFFIsBigEndian... no             
checking for TIFFReadEXIFDirectory... no       
checking for TIFFSetErrorHandlerExt... no      
checking for TIFFSetTagExtender... yes         
checking for TIFFSetWarningHandlerExt... no    
checking for TIFFSwabArrayOfTriples... no  
Why do the last tests fail? I need TIFFReadEXIFDirectory because my images contain EXIF information and opening them will fail.

Re: TIFFReadEXIFDirectory=no in configure

Posted: 2012-12-04T12:02:29-07:00
by fmw42
see what delegates you have

convert -list configure

and look at the line starting with DELEGATES. Does it have tiff?

If so, just try

identify -verbose imagel.tiff

does it show the tiff exif info?

If so then you can extract it by using string formats. See %[EXIF:tag] down the page at http://www.imagemagick.org/script/escape.php

Re: TIFFReadEXIFDirectory=no in configure

Posted: 2012-12-05T02:21:19-07:00
by rgra
Before posting I tested if it's working. And then I had a look at the configure output and saw that TIFFReadEXIFDirectory is missing.

Anyway, here's the output you asked for:

Code: Select all

DELEGATES     bzlib fontconfig jpeg jng png tiff x11 xml zlib
....
identify -verbose test.tif                                                   
test: test.tif: Seek error accessing TIFF directory. `TIFFReadDirectory' @ error/tiff.c/TIFFErrors/562.                                                   

Re: TIFFReadEXIFDirectory=no in configure

Posted: 2012-12-05T11:39:48-07:00
by fmw42
At this point, you will likely need to post a link to your image, so that the IM developers can verify your problem.