1 # pngminim/decoder/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 # All that is required is some read code. This example switches
14 # on the sequential read code (see ../preader for a progressive
17 option SEQUENTIAL_READ on
19 # You must choose fixed or floating point arithmetic:
20 # option FLOATING_POINT on
24 # You must chose the internal fixed point implementation or to
25 # use the system floating point. The latter is considerably
26 # smaller (by about 1kbyte on an x86 system):
27 # option FLOATING_ARITHMETIC on
29 option FLOATING_ARITHMETIC off
31 # Your program will probably need other options. The example
32 # program here, pngm2pnm, requires the following. Take a look
33 # at pnglibconf.h to find out the full set of what has to be
34 # enabled to make the following work.
39 option READ_STRIP_16_TO_8 on