1# pngminim/decoder/pngusr.dfa 2# 3# Copyright (c) 2010-2013 Glenn Randers-Pehrson 4# 5# This code is released under the libpng license. 6# For conditions of distribution and use, see the disclaimer 7# and license in png.h 8 9# First all the build options off: 10 11everything = off 12 13# All that is required is some read code. This example switches 14# on the sequential read code (see ../preader for a progressive 15# read example). 16 17option SEQUENTIAL_READ on 18 19# You must choose fixed or floating point arithmetic: 20# option FLOATING_POINT on 21 22option FIXED_POINT on 23 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 28 29option FLOATING_ARITHMETIC off 30 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. 35 36option SETJMP on 37option STDIO on 38option READ_EXPAND on 39option READ_STRIP_16_TO_8 on 40option USER_LIMITS on 41