Quote Originally Posted by User137
Quote Originally Posted by jdarling
Nuno, never found a stand along PNG loader myself . The one that is included in FPC/Lazarus requires 3rd party libs
What do you mean by this? Lazarus's PNG works without getting anything extra. And after i just opened PNG source files (packages\fcl_image\src) they really don't have anything 3rd party in them.

TPortableNetworkGraphic is found in Graphics unit.
Just took another look at the Lazarus version and your right about that . But, it doesn't always load a PNG properly (see attached image below). I never figured out what exactly was wrong with the loader, but I know it has to do with transparency layers generated from some graphics editing software.

For the below image (and similar) I have to load them into PhotoShop and re-save them for them to work properly. Never had such problems with Vampyre.



Course, I could be wrong about the latest versions of Delphi too, I've only read about the details of how they implemented PNG support. I know a while back the concern was in the LZH compression and its licensing.

- Jeremy