| 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 |
|
| 11 |
everything = off |
| 12 |
|
| 13 |
# Just switch on the progressive read code |
| 14 |
|
| 15 |
option PROGRESSIVE_READ on |
| 16 |
|
| 17 |
# You may choose fixed or floating point APIs: |
| 18 |
# option FLOATING_POINT on |
| 19 |
|
| 20 |
option 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 |
|
| 26 |
option 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 |
|
| 34 |
option SETJMP on |
| 35 |
option STDIO on |
| 36 |
option READ_bKGD on |
| 37 |
option READ_GAMMA on |
| 38 |
option READ_EXPAND on |
| 39 |
option READ_STRIP_16_TO_8 on |
| 40 |
option READ_GRAY_TO_RGB on |