Delphi, ImageList that handles BOTH png and bitmaps
Recently I've found TPngImageList component ( http://cc.embarcadero.com/Item/26127 ) which is very good, but it handles only png images ... I'd like to have some imagelist that allows combinin开发者_开发技巧g of pngimages with bitmaps, as I'm using lots of bitmaps, and I do not want to spend coming week converting those bitmaps to pngs, yet I want to use be able to add PNG images for coming features ... So far I used to convert the PNGs to bitmaps using GIMP if I wasn't able to find any replacement.
png2bmp and bmp2png come to the rescue for automated commandline conversion of those image files.
As of Delphi 2009, the TImageList supports PNG images natively as Nick Hodges announced.
This doesnt answer your question, but if you do need to convert them all may I suggest the wonderful ImageMagik over GIMP, it will make your life super easy and convert all your files with one easy script.
The TImageList component in Delphi 2009 and up handles PNG and BMP files, among many others.
精彩评论