如何在Delphi TImageList 中使用 透明 png 图标

原文标题:How to use transparent PNG icons with Delphi ImageList
原文: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: dsTransparent
ColorDepth: cd32Bit

posted @ 2011-09-28 10:23  毛小毛  阅读(4508)  评论(0编辑  收藏  举报