| Windows with Delphi Windows API (94) Windows Filesystem (41) Windows Forms (69) Windows Graphics (38) |
Creating icons with more than 16 colors
Question: I am creating icons from bitmaps in full color, however, when saving the image (which is displayed in full color and can be assigned to the application in full color), SaveToFile() seems to reduce the icon to 16 colors.Answer: This depends on the VCL's TIcon class. It cannot handle more than 16 colors for TIcon if you want to save it.You can try the graphic32 library: The graphic32 home page is here:
The source is on SourceForge:
Comments:
|