pngusr.dfa 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # pngminim/encoder/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. # Switch on the write code - this makes a minimalist encoder
  11. option WRITE on
  12. # These 2 options are required if you need to read PBM (P1 or P4) files.
  13. option WRITE_INVERT on
  14. option WRITE_PACK on
  15. # You must choose fixed or floating point arithmetic:
  16. # option FLOATING_POINT on
  17. option FIXED_POINT on
  18. # You must chose the internal fixed point implementation or to
  19. # use the system floating point. The latter is considerably
  20. # smaller (by about 1kbyte on an x86 system):
  21. # option FLOATING_ARITHMETIC on
  22. option FLOATING_ARITHMETIC off
  23. # Your program will probably need other options. The example
  24. # program here, pnm2pngm, requires the following. Take a look
  25. # at pnglibconf.h to find out the full set of what has to be
  26. # enabled to make the following work.
  27. option SETJMP on
  28. option STDIO on