1# pngminim/preader/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# Just switch on the progressive read code 14 15option PROGRESSIVE_READ on 16 17# You may choose fixed or floating point APIs: 18# option FLOATING_POINT on 19 20option FIXED_POINT on 21 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): 25 26option FLOATING_ARITHMETIC on 27# option FLOATING_ARITHMETIC off 28 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. 33 34option SETJMP on 35option STDIO on 36option READ_bKGD on 37option READ_GAMMA on 38option READ_EXPAND on 39option READ_STRIP_16_TO_8 on 40option READ_GRAY_TO_RGB on 41