libpng/contrib/pngminim/preader
Glenn Randers-Pehrson 31aee0d0c0 [devel]
Fixed point APIs are now supported throughout (no missing APIs).
  Internal fixed point arithmetic support exists for all internal floating
    point operations.
  sCAL validates the floating point strings it is passed.
  Safe, albeit rudimentary, Watcom support is provided by PNG_API_RULE==2
  Two new APIs exist to get the number of passes without turning on the
    PNG_INTERLACE transform and to get the number of rows in the current
    pass.
  A new test program, pngvalid.c, validates the gamma code.
  Errors in the 16 bit gamma correction (overflows) have been corrected.
  cHRM chunk testing is done consistently (previously the floating point
    API bypassed it, because the test really didn't work on FP, now the test
    is performed on the actual values to be stored in the PNG file so it
    works in the FP case too.)
  Most floating point APIs now simply call the fixed point APIs after
    converting the values to the fixed point form used in the PNG file.
  The standard headers no longer include zlib.h, which is currently only
    required for pngstruct.h and can therefore be internal.
  (Patches by John Bowler)
2010-07-29 17:39:14 -05:00
..
makefile [devel] 2010-07-29 17:39:14 -05:00
pngusr.dfa [devel] 2010-07-29 17:39:14 -05:00
pngusr.h [devel] Revised contrib/pngminim to use the "everything off" option 2010-04-28 07:54:14 -05:00
README [devel] Revised contrib/pngminim to use the "everything off" option 2010-04-28 07:54:14 -05:00

This demonstrates the use of PNG_USER_CONFIG and pngusr.h

The makefile builds a minimal read-only progressive decoder with
embedded libpng, zlib and your system's X library.

Specify the location of the zlib source (1.2.1 or later) as ZLIBSRC
on the make command line.

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