
pnmtopng and pngtopnm are based on other pbm tools and require the libraries
included in the pbmplus package. Also required are the png library and the
zlib compression library.

ftp://ftp.x.org/R5contrib/netpbm-1mar1994.tar.gz
ftp://ftp.uu.net/graphics/png/code/pnglib-*.zip
ftp://ftp.uu.net/graphics/png/code/zlib-*.zip

I have compiled the programs with the following command line:

cc -o pnmtopng pnmtopng.c -Ipnglib-0.6 -Izlib-0.92 -I.. -I../pbm -I../pgm -I../ppm -I../pnm  pnglib-0.6/pnglib.a zlib-0.92/libgz.a ../pnm/libpnm.a ../ppm/libppm.a ../pgm/libpgm.a ../pbm/libpbm.a

(and the other way around)

If this is included in the pbmplus distribution, a makefile entry would be
useful, but I didn't bother with this yet.


Alexander Lehmann <alex@hal.rhein-main.de>

