| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2005.11.10 10:44 "Calculate Offset and can't read ASCII", by Thomas OldenkottHello,
I have two problems.
1) I need a way to calculate the offset of an image. I want to export it in
a csv-File. Is there a tag? How do I make this?
2) By reading tags in an ASCII format (for example TIFFTAG_DATETIME) to an
char array I get crazy values.
Where is the problem?
Example:
char IMAGEDATETIME[50];
TIFFGetField(tif,306,&IMAGEDATETIME);
printf("\nIMAGEDATETIME= %s", IMAGEDATETIME);
TIFFSetField(out,306,IMAGEDATETIME);
Greetings
TOM
|
|||||||