Description: Work in progress & posted for your suggestions. This is a good PNG reader (includes progressive display/interlacing--rare indeed) & the writer is in progress & will be posted next month, hopefully. In order to use this, you'll need ZLIB.DLL and a link for a VB-friendly version of that free DLL is near the top of the main class. Currently not Win95/NT4 capable, but working on that too. Again, this is a work in progress. The PNG format contains many color-related "chunks" that I don't currently have the knowledge to implement. If you know how to handle any chunks that are unhandled in the project, please email me. In IDE, this thing crawls, but compiled it is up to 10x faster & can display full screen PNGs very quickly. Hoping to hear from you all. When the PNG Writer is ready, will repost with the changes--expected to be massive. Added step-by-step instructions at top of stdPNG class for using the zlib DLL. Tweaked to fix minor errors I mentioned in remarks below. Added a readme file, more properties/options (like global AlphaBlend), and more comments. I think the reader is now good to go pending any bug reports & my TODO list I added at top of the main class. The writer is next.
This file came from Planet-Source-Code.com...the home millions of lines of source code
You can view comments on this code/and or vote on it at: http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=63684&lngWId=1
The author may have retained certain copyrights to this code...please observe their request and the law by reviewing all copyright conditions at the above URL.