Problem while drawing a translucent PNG image on a TBitmap object.
If TBitmap, HandleType is set to bmDDB, then the canvas becomes transparent. But the problem is that it does not work on all kinds of machines (for example: Windows on apple computers).
If the TBitmap HandleType property is set to bmDIB, the background canvas is drawn in white.
bmp.HandleType := bmDIB;
I tried setting Brush style to bsClear. But he draws transparent pixels in black.
How can I draw an image while maintaining its transparency and smooth curved edges.
Thanks Pavan.
source
share