AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
August 2006

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2006.08.11 05:17 "EPS Tiff Preview.", by Amit Gupta
2006.08.11 14:27 "Re: EPS Tiff Preview.", by Bernie Pallek

2006.08.11 14:27 "Re: EPS Tiff Preview.", by Bernie Pallek

Amit wrote:
> The problem right now I am facing is that LibTiff api 
> TIFFOpen returns a NULL pointer when used with tiff images 
> extracted from 
> EPS files, whereas it returns a valid pointer for normal Tiff images.
[...]
> Is there any difference between a normal Tiff Image and Tiff 
> Preview Image Extracted from EPS. 

You could try running tiffinfo or tiffdump on your problem TIFF, but the
most effective way to track down the problem is to build a debug version of
your application, trace into TIFFOpen(), and dig down as deep as necessary
until you find the root of the problem.

Some sanity checks (though you've probably already tried them):
- try viewing the problem image with another known-good TIFF viewer
- examine header with hex editor to verify magic code, etc
- filename/path okay?
- permissions okay?
- sharing problems?  (file already opened exclusively by another process)