Glenn Randers-Pehrson 4bd73b6947 [master] Revised png_push_save_buffer() to do fewer but larger png_mallocs
Eliminated use of png_ptr->irowbytes and reused the slot in png_ptr as
png_ptr->png_user_chunk_malloc_max.
2010-02-06 12:15:07 -06:00
..
2009-05-20 17:19:00 -05:00

This demonstrates the use of PNG_USER_CONFIG and pngusr.h

To build a minimal read-only progressive decoder embedded libpng and
zlib and with your system's X library, run

    gather.sh # to collect needed files from gregbook, libpng, and zlib

Edit makefile if required, to find your X library and include files,
then
    
    make
 
If you prefer to use the shared libraries, go to contrib/gregbook
and build the rpng2-x application there.