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
FW_BarCodeBmp Help
FW_BarCodeBmp Help
José David Angulo
Auditoria y Sitemas Ltda.
Cartagena Colombia
Auditoria y Sitemas Ltda.
Cartagena Colombia
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: FW_BarCodeBmp Help
Please try converting the bitmap as alpha bitmap with this function.
Code: Select all
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
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India