This script does not use the GD library. All PNG generation code, including CRC checksum calculation and ZLIB-implementation, is pure PHP3. You can use it as a benchmark (because it's slow), or as a quick reference for implementing a simple PNG-file generator.