GFL SDK 3.11

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

Moderators: XnTriq, xnview

User avatar
Author of XnView
Posts: 27548
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: GFL SDK 3.11

Postby xnview » Tue Aug 17, 2010 1:47 am

Ben321 wrote:Then that is one of the bugs. Because it sure is listed in the enum SaveFormat that comes with GflAx.dll as this screenshot of my copy of it implemented in VB6 shows.

Houps Right, must be removed

Code: Select all

    .ChangeColorDepth AX_To16Colors 'Change color depth

And this produces a black image! In fact from my experience, the command ChangeColorDepth almost always produces a black image when displayed in a picture box with GetPicture, and almost always only produces the correct effect when its output is written to a file with the SaveBitmap command. It has to be converted BACK to 24bpp with a second use of ChangeColorDepth after lowering the color depth to the desired value with the first use of ChangeColorDepth, if it is to be correctly viewed directly in a picture box. Yet another bug it seems you'll have to fix.

Ok, i'll test. Perhaps it's a problem with the colormap...

Return to “GFL SDK”

Who is online

Users browsing this forum: No registered users and 1 guest