Page 1 of 1

LoadIPTC & BeOS

Posted: Tue Sep 20, 2005 5:09 pm
by matjako
Hi, I am writing a photo-album type of an application for BeOS (R5) using GFL SDK v2.20. I have problems getting IPTC tags with LoadIPTC(). For instance, this will always return NumberOfItems ==0

Code: Select all

        BPath path(&entref);
	GFL_IPTC_DATA *iptc;
	iptc = gflLoadIPTC(path.Path());
	if (iptc && iptc->NumberOfItems) 
                //TODO...
the funny thing is GetIPTCData after LoadBitmap works! ??? Any ideas?

Re: LoadIPTC & BeOS

Posted: Wed Sep 21, 2005 6:22 am
by xnview
matjako wrote:Hi, I am writing a photo-album type of an application for BeOS (R5) using GFL SDK v2.20. I have problems getting IPTC tags with LoadIPTC(). For instance, this will always return NumberOfItems ==0

Code: Select all

        BPath path(&entref);
	GFL_IPTC_DATA *iptc;
	iptc = gflLoadIPTC(path.Path());
	if (iptc && iptc->NumberOfItems) 
                //TODO...
the funny thing is GetIPTCData after LoadBitmap works! ??? Any ideas?
Hum, the 2.20 has some problem with IPTC

Re: LoadIPTC & BeOS

Posted: Wed Sep 21, 2005 8:57 am
by Guest
xnview wrote: Hum, the 2.20 has some problem with IPTC
I see... this could be it :( I could get IPTC tags with GetIPTCData, of course, but I do not want to load a bitmap again, because I am using BeOS native image translators, so that would be 100% overhead.