pngusr.dfa 1.1 KB
Newer Older
1 2
# pngminim/decoder/pngusr.dfa
#
3
# Copyright (c) 2010-2013 Glenn Randers-Pehrson
4 5 6 7 8 9
#
# This code is released under the libpng license.
# For conditions of distribution and use, see the disclaimer
# and license in png.h

# First all the build options off:
10

11 12 13 14 15
everything = off

# All that is required is some read code. This example switches
# on the sequential read code (see ../preader for a progressive
# read example).
16

17 18 19
option SEQUENTIAL_READ on

# You must choose fixed or floating point arithmetic:
20
# option FLOATING_POINT on
21

22 23 24 25 26 27
option FIXED_POINT on

# You must chose the internal fixed point implementation or to
# use the system floating point.  The latter is considerably
# smaller (by about 1kbyte on an x86 system):
# option FLOATING_ARITHMETIC on
28

29
option FLOATING_ARITHMETIC off
30 31 32 33 34

# Your program will probably need other options.  The example
# program here, pngm2pnm, requires the following.  Take a look
# at pnglibconf.h to find out the full set of what has to be
# enabled to make the following work.
35

36 37 38
option SETJMP on
option STDIO on
option READ_EXPAND on
39
option READ_STRIP_16_TO_8 on
40
option USER_LIMITS on