Page 1 of 1

Strange behaviour with gflBitmapHasIPTC and gflBitmapGetIPTC

Posted: Mon Jul 04, 2005 3:22 pm
by Ithier
Hi,

I have written a function to retreive IPTC data. First I call the gflBitmapHasIPTC function and if it returns true, then I call gflBitmapGetIPTC.
Generally it works fine, but for some tiff images (not all) gflBitmapHasIPTC return true, but gflBitmapGetIPTC returns a NULL pointer !
This is obviously not a big problem, but is it normal ?

Ithier

Re: Strange behaviour with gflBitmapHasIPTC and gflBitmapGet

Posted: Tue Jul 05, 2005 6:08 am
by xnview
Ithier wrote:I have written a function to retreive IPTC data. First I call the gflBitmapHasIPTC function and if it returns true, then I call gflBitmapGetIPTC.
Generally it works fine, but for some tiff images (not all) gflBitmapHasIPTC return true, but gflBitmapGetIPTC returns a NULL pointer !
This is obviously not a big problem, but is it normal ?
Yes, some pictures have a IPTC field, but without data