| 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 |
Thread2006.08.11 15:53 "Re: Newbie RICHTIFFIPTC query", by <dermot@sciencephoto.com>On 11 Aug 2006 at 10:37, Grissom, Ed wrote:
>
> Either you are printing it out wrong or you are interpreting it wrong.
>
> Note that the same bit pattern can represent a negative number if it is
> being interpreted as a signed int.
>
There is something wrong with my assignment I think
I currently have this:
uint32 count;
char *data;
...
snip
if (TIFFGetField(tif, TIFFTAG_RICHTIFFIPTC, &count, &data) == 0) {
...
printf("Size of IPTC Tag is %d bytes.\n", &count);
Which yelds this:
>Size of IPTC Tag is -18344092 bytes.
I guess I am no referencing count correctly. Sorry.
|
|||||||