fukasawa e60969
# pngminim/encoder/pngusr.dfa
fukasawa e60969
#
fukasawa e60969
# Copyright (c) 2010-2013 Glenn Randers-Pehrson
fukasawa e60969
#
fukasawa e60969
# This code is released under the libpng license.
fukasawa e60969
# For conditions of distribution and use, see the disclaimer
fukasawa e60969
# and license in png.h
fukasawa e60969
fukasawa e60969
# First all the build options off:
fukasawa e60969
fukasawa e60969
everything = off
fukasawa e60969
fukasawa e60969
# Switch on the write code - this makes a minimalist encoder
fukasawa e60969
fukasawa e60969
option WRITE on
fukasawa e60969
fukasawa e60969
# These 2 options are required if you need to read PBM (P1 or P4) files.
fukasawa e60969
option WRITE_INVERT on
fukasawa e60969
option WRITE_PACK on
fukasawa e60969
fukasawa e60969
# You must choose fixed or floating point arithmetic:
fukasawa e60969
# option FLOATING_POINT on
fukasawa e60969
fukasawa e60969
option FIXED_POINT on
fukasawa e60969
fukasawa e60969
# You must chose the internal fixed point implementation or to
fukasawa e60969
# use the system floating point.  The latter is considerably
fukasawa e60969
# smaller (by about 1kbyte on an x86 system):
fukasawa e60969
# option FLOATING_ARITHMETIC on
fukasawa e60969
fukasawa e60969
option FLOATING_ARITHMETIC off
fukasawa e60969
fukasawa e60969
# Your program will probably need other options.  The example
fukasawa e60969
# program here, pnm2pngm, requires the following.  Take a look
fukasawa e60969
# at pnglibconf.h to find out the full set of what has to be
fukasawa e60969
# enabled to make the following work.
fukasawa e60969
fukasawa e60969
option SETJMP on
fukasawa e60969
option STDIO on