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