2008.08.28 08:54 "Re: [Tiff] Array of doubles to private tag", by Janis
I should be happy to see that you are correct suggesting an other viewer and see that all my doubles are there, but knowing I spend a complete day to reach this point is very frustrating.
Any how, Tiffinfo shows all my doubles in the TIFF-file.
This code reveals that AsTiffTagViewer doesn't show doubles and floats: http://www.asmail.be/msg0054585832.html
Thanks for the advice!
On Thu, Aug 28, 2008 at 10:05 AM, Andrey Kiselev <email@example.com>wrote:
On Thu, Aug 28, 2008 at 09:39:11AM +0200, Janis wrote:
I'm dealing with (for me) a strange problem. I'm trying to write a number of double's to a private tag. Shouldn't be a problem I thought, but it seems it is.
For this I wrote the following test code for an array of shorts and doubles. The array with shorts works great! With the double's, I see that the tag is made within the TIFF file, but there arent't any values... I check each ' TIFFSetField' and all results are 1, meaning succes...
It seems for me tht your code is correct. It can be a problem with your tag viewing tool. Try to use tiffinfo/tiffdump instead or read the tag yourself programmatically.