By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,199 Members | 1,440 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,199 IT Pros & Developers. It's quick & easy.

EPS Tiff Preview

P: n/a
Hello,

I am using QuarkXPress on Macintosh to generate EPS Files with Tiff
Preview embedded in it.
I have written some C code to extract Tiff Preview from EPS files
generated which works pretty well.
I want do some image manipulation on the extracted tiff images, for
which I intend to use LibTiff on Macintosh.

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.

Sample code snippet :

TIFF* ptrTiff = TIFFOpen("TiffPreview.tif", "rb");
..........
..........
If(ptrTiff)
TIFFClose(ptrTiff);

Is there any difference between a normal Tiff Image and Tiff Preview
Image Extracted from EPS.

Thanks in Advance !!

-Amit Gupta

Aug 11 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
amit gupta wrote:
I am using QuarkXPress on Macintosh to generate EPS Files with Tiff
Preview embedded in it.
I have written some C code to extract Tiff Preview from EPS files
generated which works pretty well.
I want do some image manipulation on the extracted tiff images, for
which I intend to use LibTiff on Macintosh.

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.

Sample code snippet :

TIFF* ptrTiff = TIFFOpen("TiffPreview.tif", "rb");
.........
.........
If(ptrTiff)
TIFFClose(ptrTiff);

Is there any difference between a normal Tiff Image and Tiff Preview
Image Extracted from EPS.
You're asking in the wrong newsgroup. You'll want to ask in a group
that deals with LibTiff. (Is it a Mac-specific library? If so, ask on a
Mac group.) This group deals with the standard C++ language, not
third-party libraries (see
http://www.parashift.com/c++-faq-lit....html#faq-5.9).

Cheers! --M

Aug 11 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.