1 # pngminim/preader/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 # Just switch on the progressive read code
15 option PROGRESSIVE_READ on
17 # You may choose fixed or floating point APIs:
18 # option FLOATING_POINT on
22 # You must chose the internal fixed point implementation or to
23 # use the system floating point. The latter is considerably
24 # smaller (by about 1kbyte on an x86 system):
26 option FLOATING_ARITHMETIC on
27 # option FLOATING_ARITHMETIC off
29 # Your program will probably need other options. The example
30 # program here, rpng2-x, requires the following. Take a look
31 # at pnglibconf.h to find out the full set of what has to be
32 # enabled to make the following work.
39 option READ_STRIP_16_TO_8 on
40 option READ_GRAY_TO_RGB on