Format Versions / GFL_FILE_INFORMATION.Description

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

Moderators: XnTriq, helmut, xnview

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

Format Versions / GFL_FILE_INFORMATION.Description

Post by AmigoJack »

When reading GFL_FILE_INFORMATION.Description this value also contains the version of the format (like 87 or 89 for GIF, or 1.1 or 1.2 for JPEG).

Is this the only way to get the version of a format? Or is there another possibility to only get the version without description (or having both separated)?
Otherwise I'd like to have a rough overview on which versions may occur, so I'm able to strip the full format description (like "CompuServe" for GIF) but leave the version-part of the text. So far my only pattern would be to collect all non-space characters from the end to split the version from the description...

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

Re: Format Versions / GFL_FILE_INFORMATION.Description

Post by xnview »

Yes it's only like that
Pierre.
Post Reply