PDA

View Full Version : What about .PNG images?



J9850s
28-12-2003, 11:43 AM
how can i open a PNG image?

jpg has his own unit(JPEG).

my question: has PNG that also? or something else?

Jeroen de j.

{MSX}
29-12-2003, 10:02 PM
how can i open a PNG image?

jpg has his own unit(JPEG).

my question: has PNG that also? or something else?


No, PNG doesn't have an unit.. But depending on the platform and library you're using there may be something.
SDL natively support PNG image, and also plain Kylix does..
Otherway, you must use a third party library. I use one that i found on Torry, that is good and does not require external dlls.. It is also "compatible" with TGraphic so that with some hack i was able to use it with DelphiX too.

Bye!

Useless Hacker
31-12-2003, 09:48 PM
I suggest you download GraphicEx from http://www.delphi-gems.com/Graphics.php.

doggo18
01-01-2004, 10:31 AM
This one does what you want: http://pngdelphi.sourceforge.net/

Good luck :)