fukasawa e60969
# pngminim/decoder/pngusr.dfa
fukasawa e60969
#
fukasawa e60969
# Copyright (c) 2010-2013 Glenn Randers-Pehrson
fukasawa e60969
#
fukasawa e60969
# This code is released under the libpng license.
fukasawa e60969
# For conditions of distribution and use, see the disclaimer
fukasawa e60969
# and license in png.h
fukasawa e60969
fukasawa e60969
# First all the build options off:
fukasawa e60969
fukasawa e60969
everything = off
fukasawa e60969
fukasawa e60969
# All that is required is some read code. This example switches
fukasawa e60969
# on the sequential read code (see ../preader for a progressive
fukasawa e60969
# read example).
fukasawa e60969
fukasawa e60969
option SEQUENTIAL_READ on
fukasawa e60969
fukasawa e60969
# You must choose fixed or floating point arithmetic:
fukasawa e60969
# option FLOATING_POINT on
fukasawa e60969
fukasawa e60969
option FIXED_POINT on
fukasawa e60969
fukasawa e60969
# You must chose the internal fixed point implementation or to
fukasawa e60969
# use the system floating point.  The latter is considerably
fukasawa e60969
# smaller (by about 1kbyte on an x86 system):
fukasawa e60969
# option FLOATING_ARITHMETIC on
fukasawa e60969
fukasawa e60969
option FLOATING_ARITHMETIC off
fukasawa e60969
fukasawa e60969
# Your program will probably need other options.  The example
fukasawa e60969
# program here, pngm2pnm, requires the following.  Take a look
fukasawa e60969
# at pnglibconf.h to find out the full set of what has to be
fukasawa e60969
# enabled to make the following work.
fukasawa e60969
fukasawa e60969
option SETJMP on
fukasawa e60969
option STDIO on
fukasawa e60969
option READ_EXPAND on
fukasawa e60969
option READ_STRIP_16_TO_8 on
fukasawa e60969
option USER_LIMITS on