TIFFReadEXIFDirectory=no in configure

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
rgra
Posts: 2
Joined: 2012-12-04T01:55:15-07:00
Authentication code: 6789

TIFFReadEXIFDirectory=no in configure

Post 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.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: TIFFReadEXIFDirectory=no in configure

Post 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
rgra
Posts: 2
Joined: 2012-12-04T01:55:15-07:00
Authentication code: 6789

Re: TIFFReadEXIFDirectory=no in configure

Post 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.                                                   
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: TIFFReadEXIFDirectory=no in configure

Post 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.
Post Reply