2005.07.27 15:00 "[Tiff] User Defined Tags (TIFF_FLOAT)", by Randy

2005.07.27 19:45 "Re: [Tiff] User Defined Tags (TIFF_FLOAT)", by Andrey Kiselev

On Wed, Jul 27, 2005 at 10:00:36AM -0500, Randy wrote:

I'm attempting to add my own user-defined tags to tiff files that I write. I found the following example of how to do this online @ http://www.asmail.be/msg0054585832.html. I have implemented this and it works. However, when I try to change the field_passcount to FALSE, it does not seem to work. I'm using libtiff v. 3.7.3 on Windows XP. Here are the relevant code snippets that I have. If I take the code I have and replace TIFF_FLOAT with TIFF_LONG and float with long, everything works correctly. Float values are the only ones that appear to be broken. Any suggestions on what I might have done wrong? Thanks.

Randy,

Thank you for report. There was a bug in the custom tags related code (the "pass by value" is a new functionality of the 3.7.3 release and it is not heavily tested yet). Fixed in the CVS.

Regards,
Andrey

--
Andrey V. Kiselev

Home phone: +7 812 5970603 ICQ# 26871517