LoadIPTC & BeOS

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, helmut, xnview

matjako
Posts: 1
Joined: Tue Sep 20, 2005 5:03 pm
Location: Ljubljana

LoadIPTC & BeOS

Post 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?
/\/\.|<.
User avatar
xnview
Author of XnView
Posts: 43132
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: LoadIPTC & BeOS

Post 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
Pierre.
Guest

Re: LoadIPTC & BeOS

Post 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.