Results 1 to 5 of 5

Thread: PNG Delphi Lib

  1. #1

    PNG Delphi Lib

    Hi guys, I don't know where to post components, so I put it here in the personal projects area. Hope you enjoy this one, as I see most of you were unable to find it on the web. Basicly it's the PNG Delphi Lib v1.56, not sure if there is an updated one else where. This one works up to D2007, it also include some useful components like button, speedbutton and imagelist. I rename the original component from TPNGObject to TPNGImage, just because it has sense to me.
    pnglib.zip

  2. #2
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    Oh excellent! Lots of people would love a source-only PNG load/save library.

    How versatile is it? What color formatting does it support, etc?

    One of the best features of PNG for games is not only that it's a lossless compression, but also that it supports a whole alpha channel.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  3. #3
    That is a bit obscure to me. Only thing I know for sure is that it is the last library available before Borland take over the original. It's the one called PNGDelphi on Source Forge, v1.564. I'm sure it works with every PNG, the ones I try to load and display, show the expected result compared with Gimp for example. So I think the supported format is RGBA. (need to learn about this asap)

    If anyone is interested, I also have sources codes of libraries for other formats, jpg, tga, gif, pcx, tiff, iff (yup, I have skills in archeology too) and some other, they are somewhere in a dark and dusty place in my hdd. I also use GR32 that can be found in source forge, the creator asks for a donation if you like.

    (I think the forum needs a thread to post components only)
    Last edited by pitfiend; 28-02-2012 at 12:52 AM.

  4. #4

  5. #5
    I have the BeRo libraries too, they allow to read png. But they didn't allow to write your own bitmaps. That's why I have this lib, with it you can make screenshots in png format .
    Last edited by pitfiend; 29-02-2012 at 01:51 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •