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
 Setting TIFF Tags for TIFF-F
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Eric24

USA
23 Posts

Posted - Sep 15 2012 :  17:32:11  Show Profile  Reply
The TIFF-F sub-format requires a number of tags, some of which I can not seem to set with ImageEn:

1) NewSubFileType - This is included in the output, but is set to 0 (it needs to be set to 2: bit1=1). There does not appear to be a way to explicitly set it.

2) PageNumber - Setting TIFF_PageNumber, TIFF_PageCount, and/or TIFF_ImageIndex does not insert this tag into the output (the PageNumber tag should be two shorts: [0] = page number (base 0); [1] = total pages in file.

3) DateTime - No way to set.

PS - Just out of curiousity, what does TIFF_ImageIndex do? I can't find any reference to an ImageIndex tag in the TIFF standard and no such tag appears in the output file.

xequte

38610 Posts

Posted - Sep 18 2012 :  02:16:47  Show Profile  Reply
Hi

I'm afraid we do not fully support the TIFF-F format.

TIFF_ImageIndex is simply the current image that is displayed of a multiframe TIFF, i.e. set to 0 to display the first frame, 1 to display the second frame, etc.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

fab

1310 Posts

Posted - Sep 18 2012 :  03:57:50  Show Profile  Reply
Hi,
starting from version 4.1.2 NewSubFiltType is settable with other values other than 0.
DateTime is settable with IOParams.EXIF_DateTime (TIFF tag 306)
Go to Top of Page

Eric24

USA
23 Posts

Posted - Sep 19 2012 :  07:05:17  Show Profile  Reply
To follow up on TIFF_ImageIndex, is this param even relevant when writing/appending a TIFF image to a file? I had assumed that it set a tag in the file, but from your description, it seems like it's actually for reading/display purposes.
Go to Top of Page

xequte

38610 Posts

Posted - Sep 19 2012 :  13:40:43  Show Profile  Reply
Hi Eric

That is correct. It is not data of frame, but the index of the image with which to load.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: