Hi Mr. Nage,
I am generating a QR code with FW_BarCodeBmp, but when recording it saves me the image with a black background.
How to save with transparent background
function bmp2alpha( hBmp1 )
local hBmp, oBmp
oBmp := GdiBmp():New()
oBmp:CreateFromRes( hBmp1, 0 )
oBmp:Conver24to32Alpha( .f. )
hBmp := oBmp:GetGDIHbitmap()
oBmp:Destroy()
DeleteObject( hBmp1 )
return hBmp
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Otto and 78 guests