Search code examples
imagedelphiframeaero-glass

Delphi: 32-bit image does not display correctly on Glass Form


I have a PNG (32-bit) image in a TImage. A form has a Glass Frame. Picture's background is black, not transparent. How to fix it?

Delphi 2010.

Thanks.


Solution

  • As workaround you can change the bits of your png image to 32.

    Check this sample

    the left image is a PNG of 8 bits and the other is of 32 bits.

    enter image description here