[devel] Revised contrib/pngminim to use the "everything off" option

in pngusr.dfa.
This commit is contained in:
Glenn Randers-Pehrson
2010-04-28 07:54:14 -05:00
parent cd74549840
commit e3e8f6bf02
18 changed files with 447 additions and 289 deletions

View File

@@ -0,0 +1,27 @@
# pngminim/decoder/pngusr.dfa
#
# Copyright (c) 2010 Glenn Randers-Pehrson
#
# This code is released under the libpng license.
# For conditions of distribution and use, see the disclaimer
# and license in png.h
# First all the build options off:
everything = off
# All that is required is some read code. This example switches
# on the sequential read code (see ../preader for a progressive
# read example).
option SEQUENTIAL_READ on
# You must choose fixed or floating point arithmetic:
option FLOATING_POINT on
# option FIXED_POINT on
# Your program will probably need other options. The example
# program here, pngm2pnm, requires the following. Take a look
# at pnglibconf.h to find out the full set of what has to be
# enabled to make the following work.
option SETJMP on
option STDIO on
option READ_EXPAND on