| OLD | NEW |
| (Empty) | |
| 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 |
| 11 everything = 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 |
| 17 option SEQUENTIAL_READ on |
| 18 |
| 19 # You must choose fixed or floating point arithmetic: |
| 20 # option FLOATING_POINT on |
| 21 |
| 22 option 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 |
| 29 option 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 |
| 36 option SETJMP on |
| 37 option STDIO on |
| 38 option READ_EXPAND on |
| 39 option READ_STRIP_16_TO_8 on |
| 40 option USER_LIMITS on |
| OLD | NEW |