2014-03-15 16:59:03 +00:00
|
|
|
This demonstrates the use of PNG_USER_CONFIG and pngusr.h
|
|
|
|
|
2019-10-30 10:37:22 +00:00
|
|
|
The makefile builds a minimal read-only progressive decoder with
|
|
|
|
embedded libpng, zlib and your system's X library.
|
2014-03-15 16:59:03 +00:00
|
|
|
|
2019-10-30 10:37:22 +00:00
|
|
|
Specify the location of the zlib source (1.2.1 or later) as ZLIBSRC
|
|
|
|
on the make command line.
|
2014-03-15 16:59:03 +00:00
|
|
|
|
|
|
|
Edit makefile if required, to find your X library and include files,
|
|
|
|
then
|
2019-10-30 10:37:22 +00:00
|
|
|
|
|
|
|
make ZLIBSRC=directory
|
|
|
|
|
2014-03-15 16:59:03 +00:00
|
|
|
If you prefer to use the shared libraries, go to contrib/gregbook
|
2019-10-30 10:37:22 +00:00
|
|
|
and build the rpng2-x application there.
|