The TImage control doesn't support PNG. Is there some third party component that will?
Asked
Active
Viewed 5,645 times
5 Answers
10
Try PngComponents - as long as they are available...
A D2009 version can be found here
EDIT
On Google code the following link for older versions of Delphi:
http://code.google.com/p/cubicexplorer/downloads/detail?name=PngComponents.zip&can=2&q=
1
DevEx TCXImage component support PNG straight forward.
CXImage1.Picture.LoadFromFile(myimage.png)

andrewsi
- 10,807
- 132
- 35
- 51

Suren Sarathkumara
- 11
- 1
1
I have successfully used the TPaintBox component with the DevExpress TcxImageList which supports PNGs, and then drawn the images in the OnPaint using the list's facilities. Worked well. DevEx also have a TcxImage, but I've not tried that.

mj2008
- 6,647
- 2
- 38
- 56