I taked a clother look to the compiled version of the included "MDI_ImageViewer.pb" example (PB4 beta3)! The compiled file takes arround 409 KB! By taking a look inside the exe, you will find arround 20/21 KB of pure text like ErrorMessages and so on! Afaik all textes are from the ImagePlugins!? Is there any way to cut the text down to save some KB´s? Its not really required but would be nice
[Edited 00:33am]
I noticed, the actual UsePNGImageDecoder() is based on libpng version 1.0.8 - July 24, 2000! (http://www.libpng.org/) The latest version of libpng is still version 1.2.8 - December 3, 2004! What do you think about using the latest libpng version?
[Edited 00:45am]
You are using interaly inflate = ZLIB version 1.1.3 !? If so, i think it make sence to move over to the latest ZLib version 1.2.3 - July 18, 2005 (http://www.zlib.net/), because it has been a lot improved...
# inflate is about 20% faster and minimizes memory allocation
# crc32 is about 50% faster
