ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 BigEndian TIFF, TIETIFTagsReader - invalid value
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

MMihelic

Slovenia
13 Posts

Posted - Aug 04 2012 :  10:44:34  Show Profile  Reply
Hello.


If I take a "non-Intel" two-page TIFF end extract the second page to a stream (ExtractTIFFImageStream) and then try to read tags from this stream (TIETIFTagsReader.CreateFromStream(PageStream, 0)) I get an invalid value for the tag 258 (Tags.GetInteger(258)).

I have double checked, and the TIFF contains proper information. The TIETIFFTagsReader will read the correct value if I read the TIFF page directly. Only by following the above procedure and extracting a single page to a memory stream exhibits this problem.

--
Regards,
Matej.

fab

1310 Posts

Posted - Aug 06 2012 :  04:55:43  Show Profile  Reply
Hello,
please could you send a sample of this TIFF file?
Go to Top of Page

MMihelic

Slovenia
13 Posts

Posted - Aug 08 2012 :  02:16:36  Show Profile  Reply
I don't know what I was thinking by not including the sample in the first place.
I apologise.

I hope it will help.

<https://direct.neosys.si/helpdesk/public_files/00017Bmsb2lsb.tif>
https://direct.neosys.si/helpdesk/public_files/00017Bmsb2lsb.tif

--
Regards,
Matej.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: