473,396 Members | 1,743 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

EPS Tiff Preview

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
1 2971
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Robin Becker | last post by:
Has anyone done transparency with PIL & TIFF? I'm using PIL to generate a preview TIFF for embedding into an eps file and am being asked for the TIFF to support transparency. -- Robin Becker
0
by: Will Arrowsmith | last post by:
Hi All, I am trying to create a .tiff file to fax using the windows fax service FAXCOMLib. I have created an array of images (bitmaps) and converted them to 1pbb format in order to allow...
0
by: Will Arrowsmith | last post by:
Hi All, I am aiming to create a multiframe Tiff file that I can fax using the windows fax service FAXCOMLib. I have created an array of Bitmaps (pages I want in my fax doc) and succesfully...
5
by: Shane Story | last post by:
I can seem to get the dimensions of a frame in a multiframe tiff. After selecting activeframe, the Width/Height is still really much larger than the page's actual dimensions. When I split a...
1
by: Bala | last post by:
Hi I try to download the tiff files from my server. Its get downloaded but I cannot open with windows fax viewer. its says "No preview available" thanks bala here is the code which I am...
6
by: qysbc | last post by:
I have a web page and there is a link to open a TIFF file. The way I do it is to have the server code open a binary stream, set the content type to "image/tiff" and call Response.BinaryWrite. On...
7
by: Ben | last post by:
Hi We are looking for a component that offers that offers the below for Tiff files: Image clean-up (deskew, despeckle) Printing capabilities from VB The ability to add text to image, e.g....
10
by: =?Utf-8?B?UmludSBHb3BhbGFrcmlzaG5hIFBpbGxhaQ==?= | last post by:
Hi, Please help me to write a dll in C# , that will read each pages of a tiff image from a file and a memory stream object ( need two ways) and creatre a new tiff image object.The dll should...
6
by: sternr | last post by:
Hey, When I try to run the following code: System.Drawing.Image tiffImage = System.Drawing.Image.FromFile(@"C: \Image.tiff"); I get an "Out Of Memory" Exception. Does anybody know how...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.