VoyUser Login optional ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 12345678910 ]

[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 17:53:13 09/11/00 Mon
Author: Michel
Subject: Re: TIFF open error, tag 292 missing
In reply to: Knud Boucher 's message, "Re: TIFF open error" on 12:05:07 09/07/00 Thu

Hi Knud,

I have located the problem. The file you sent me has many default tag
missings, one
in in particular, TIFFTAG_GROUP3OPTIONS = 292, which is the first time I
see a tiff file without this tag. Other tags, 296, 278 are also missing,
but Envision is using defaults for those tags.

Here is the new case statement in ReadDibFromTiffStream:

case CompressTag of
COMPRESSION_NONE : Dib.Compression := tcNone;
COMPRESSION_CCITTRLE : Dib.Compression := tcGroup3_1d;
if (Group3Options and GROUP3OPT_2DENCODING) <> 0
Dib.Compression := tcGroup3_2d
Dib.Compression := tcGroup3_1d;
{ MB. Sep 11, 2000. Some fax 3 images don't specidy
1d or 2d, so
a default of 1d is used. I'm not sure if this is
according to the tiff specification }
Dib.Compression := tcGroup3_1d;

COMPRESSION_CCITTFAX4 : Dib.Compression := tcGroup4;
COMPRESSION_PACKBITS : Dib.Compression := tcPackbits;
COMPRESSION_DEFLATE : Dib.Compression := tcZLib;
COMPRESSION_JPEG : Dib.Compression := tcJPEG;

raise ETiffError.Create(
end; { case }

Best regards,

> I know now that the files that give trouble are of
> type: G3FAX1D
> the ImageEn component of Encomp seems to handle them
> OK, but I would like to continue working with the
> Envision component.
> > When I open the multi pageTIFF file included in the
> > Examples in the demo app, everything works fine.
> > When I try to open a .tif file that I received from
> my
> > internet fax service I get:
> > ETiffError TIFFGetField: Tag = 296
> > 'WANG Imaging' included in windows has no trouble
> with
> > these files.
> > what could be the matter?

[ Next Thread | Previous Thread | Next Message | Previous Message ]

VoyUser Login ] Not required to post.
Post a public reply to this message | Go post a new public message
* HTML allowed in marked fields.
Message subject (required):

Name (required):

  Expression (Optional mood/title along with your name) Examples: (happy, sad, The Joyful, etc.) help)

  E-mail address (optional):

Type your message here:

Notice: Copies of your message may remain on this and other systems on internet. Please be respectful.

[ Contact Forum Admin ]

Forum timezone: GMT-5
VF Version: 3.00b, ConfDB:
Before posting please read our privacy policy.
VoyForums(tm) is a Free Service from Voyager Info-Systems.
Copyright © 1998-2017 Voyager Info-Systems. All Rights Reserved.