
Thread
2006.08.11 15:53 "RE: [Tiff] Newbie RICHTIFFIPTC query", by Beginner
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.