Suggestion for GFL

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

Moderators: XnTriq, helmut, xnview

User avatar
Nikolay Raspopov
Posts: 89
Joined: Thu Jun 24, 2004 4:25 pm
Location: Russia

Suggestion for GFL

Post by Nikolay Raspopov »

Please add GetFormatBytesByIndex (int format_index, char* bytes, int* size_of_bytes) function that returns bytes used by GFL to detect image format. Example for Windows Bitmap it should return: "BM", 2; for Gif: "GIF8", 4; for Gimp XCF: "gimp xcf", 8. That simplify deep integration GFL in Internet Explorer as IMG-SRC-handler. I already tested some image formats and now my Internet Explorer may display psd-files embedded in html pages <img src="test.psd">. 8)
User avatar
xnview
Author of XnView
Posts: 45053
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Suggestion for GFL

Post by xnview »

Nikolay Raspopov wrote:Please add GetFormatBytesByIndex (int format_index, char* bytes, int* size_of_bytes) function that returns bytes used by GFL to detect image format. Example for Windows Bitmap it should return: "BM", 2; for Gif: "GIF8", 4; for Gimp XCF: "gimp xcf", 8. That simplify deep integration GFL in Internet Explorer as IMG-SRC-handler. I already tested some image formats and now my Internet Explorer may display psd-files embedded in html pages <img src="test.psd">. 8)
Ok, it's necessary for IE?
Pierre.
User avatar
Nikolay Raspopov
Posts: 89
Joined: Thu Jun 24, 2004 4:25 pm
Location: Russia

Re: Suggestion for GFL

Post by Nikolay Raspopov »

xnview wrote:Ok, it's necessary for IE?
Why not? Lets boost windows with power of GFL! :twisted:
User avatar
xnview
Author of XnView
Posts: 45053
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Suggestion for GFL

Post by xnview »

Nikolay Raspopov wrote:
xnview wrote:Ok, it's necessary for IE?
Why not? Lets boost windows with power of GFL! :twisted:
But GFL make the job????
Pierre.