1 # pngminim/encoder/pngusr.dfa
3 # Copyright (c) 2010-2013 Glenn Randers-Pehrson
5 # This code is released under the libpng license.
6 # For conditions of distribution and use, see the disclaimer
9 # First all the build options off:
13 # Switch on the write code - this makes a minimalist encoder
16 # These 2 options are required if you need to read PGM (P1 or P4) PGM files.
17 # option WRITE_INVERT on
18 # option WRITE_PACK on
20 # You must choose fixed or floating point arithmetic:
21 # option FLOATING_POINT on
25 # You must chose the internal fixed point implementation or to
26 # use the system floating point. The latter is considerably
27 # smaller (by about 1kbyte on an x86 system):
28 # option FLOATING_ARITHMETIC on
30 option FLOATING_ARITHMETIC off
32 # Your program will probably need other options. The example
33 # program here, pnm2pngm, requires the following. Take a look
34 # at pnglibconf.h to find out the full set of what has to be
35 # enabled to make the following work.