How to use transparent PNG icons with Delphi ImageList

it2022-05-15  67

http://www.aha-soft.com/faq/delphi-imagelist-png.htm

Query:

"Embarcadero Delphi ImageList does not show transparent PNG icons correctly. How to fix it?".Solution:

If you want to use 32-bit (24-bit + alpha channel) PNG icons within Delphi TImageList,

you need to set the following property values for TImageList.

DrawingStyle: dsTransparentColorDepth: cd32Bit 

Note: Images must be transparent already. 

转载于:https://www.cnblogs.com/shangdawei/p/4042404.html


最新回复(0)