I am using VB6 and an ImageList object to contain some GIF files with transparency. I used the DisplayFromStdPicture method to load from the imagelist to the GDViewer object. However, the transparency is not being respected. Instead, the original transparent color of that GIF file is being shown.
This behaviour come from a gdi+ methods which can't get the original color depth of a Picture object coming from a vb6 control...
However, you can use a vb6 function to save the your picture object to a temporary image file:
Code: Select all
Call SavePicture(Image1.Picture, "c:\temp\tmp.gif")
Who is online
Users browsing this forum: No registered users and 2 guests