Re: Problem to read tiff file
- From: "Architect" <Valen.Ivanov@xxxxxxxxx>
- Date: 2 Jan 2007 14:35:06 -0800
Is it possible that your extraction code has a bug.
Make sure that the tiff file that you extracting from EPS is a valid
tiff file.
Regards,
Valentin Ivanov.
On Jan 2, 1:27 am, dharmendratomar2...@xxxxxxxxx wrote:
Hi All,
I have extraced a tiff image embedded in an EPS file. Its opening in
Document imaging editor and Irfan view but not in paint.
My current work reuires to create a thumbnail of the above extracted
image, for this I have tried the following code.
On using Image.FromFile or Image.FromStream API's, Application raises
exception like "Out of memory"or "Invalid parameters" sequencially.
To verify the above problem I also tried with other tiff, jpg, bmp
image's which much bigger size with same permissions. They worked as
desired with no exceptions.
Please let me know if I am missing something or there is some other way
to use tiff preview embedded in EPS files.
Code :
Image img = Image.FileFrom("C:\\BBB.tiff");
or
FileStream fs = File.OpenRead ("C:\\BBB.tiff");
Image img = Image.FromStream(fs,false);
Please suggest me what can I do to remove this error....
Thanks in advance.
- Dharmendra
.
- Follow-Ups:
- Re: Problem to read tiff file
- From: dharmendratomar2000
- Re: Problem to read tiff file
- References:
- Problem to read tiff file
- From: dharmendratomar2000
- Problem to read tiff file
- Prev by Date: Problem to read tiff file
- Next by Date: Re: Problem to read tiff file
- Previous by thread: Problem to read tiff file
- Next by thread: Re: Problem to read tiff file
- Index(es):
Relevant Pages
|