pngusr.dfa 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. # First all the build options off:
  9. everything = off
  10. # All that is required is some read code. This example switches
  11. # on the sequential read code (see ../preader for a progressive
  12. # read example).
  13. option SEQUENTIAL_READ on
  14. # You must choose fixed or floating point arithmetic:
  15. # option FLOATING_POINT on
  16. option FIXED_POINT on
  17. # You must chose the internal fixed point implementation or to
  18. # use the system floating point. The latter is considerably
  19. # smaller (by about 1kbyte on an x86 system):
  20. # option FLOATING_ARITHMETIC on
  21. option FLOATING_ARITHMETIC off
  22. # Your program will probably need other options. The example
  23. # program here, pngm2pnm, requires the following. Take a look
  24. # at pnglibconf.h to find out the full set of what has to be
  25. # enabled to make the following work.
  26. option SETJMP on
  27. option STDIO on
  28. option READ_EXPAND on
  29. option READ_STRIP_16_TO_8 on
  30. option USER_LIMITS on