AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2008.08.28 07:39 "[Tiff] Array of doubles to private tag", by Janis
2008.08.28 08:05 "Re: [Tiff] Array of doubles to private tag", by Andrey Kiselev
2008.08.28 08:54 "Re: [Tiff] Array of doubles to private tag", by Janis

2008.08.28 08:05 "Re: [Tiff] Array of doubles to private tag", by Andrey Kiselev

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...

Result: http://i38.tinypic.com/143qgat.png

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.

Best regards,

Andrey

--
Andrey V. Kiselev
ICQ# 26871517