...to load a picture as thumbnail I have no control on which background color is used to fill the canvas up to 100x100 pixel. It seems like pBmp^.ColorMap^.Red/Green/Red/Alpha is most commonly used (noticed this because the color was not always black) and not the color indexed by pBmp^.TransparentIndex.
Code: Select all
iError:= gflLoadThumbnail( 'filename.gif', 100, 100, @pBmp, @vLoadParam, vFileInfo );
Is there any way to also directly give a GFL_COLOR to use for the canvas/background?