GFL_FILE_INFORMATION.ExtraInfos / gflGetExtraInfos

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

Moderators: XnTriq, xnview

User avatar
AmigoJack
Posts: 33
Joined: Tue Mar 09, 2010 6:40 pm

GFL_FILE_INFORMATION.ExtraInfos / gflGetExtraInfos

Post by AmigoJack »

I just implemented gflGetExtraInfosCount and gflGetExtraInfos to be used upon GFL_FILE_INFORMATION.ExtraInfos.

The first function should give me the amount of extra infos available. However, when I call it handing over a GFL_FILE_INFORMATION struct it raises an Access Violation. So I now do check if the ExtraInfos-member is NULL.

So far I haven't encountered a file where this is non-NULL - and yes: I'm loading the file (amongst other flags) with GFL_LOAD_READ_ALL_COMMENT. So... can anyone give me an example picture and/or possible data that could await me then via gflGetExtraInfos?

Thx :)
User avatar
xnview
Author of XnView
Posts: 36291
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: GFL_FILE_INFORMATION.ExtraInfos / gflGetExtraInfos

Post by xnview »

You can check on TIFF file
Pierre.