2 # Build time configuration of libpng
5 # Copyright: (c) John Bowler, 2013
7 # To the extent possible under law, the author has waived all copyright and
8 # related or neighboring rights to this work. This work is published from:
11 # Build libpng with no read support and minimal write support.
16 # Switch on the write code - this makes a minimalist encoder
20 # Choose fixed or floating point APIs and arithmetic. The choices are
21 # independent but normally they will match. It is typically better to use the
22 # floating point if you have floating point hardware. If you don't know, or
23 # (perhaps) to make libpng smaller used fixed point throughout.
26 #option FIXED_POINT on
27 #option FLOATING_ARITHMETIC off
30 option FLOATING_POINT on
31 option FLOATING_ARITHMETIC on
33 # Basic error handling, IO and user memory support. The latter allows the
34 # application program to provide its own implementations of 'malloc' and 'free'.
39 # Everything else is optional. Unlike the read code in libpng the write code
40 # does not need to deal with arbitrary formats, so only add support for things
41 # you really do write! For example you might only write sRGB images, sometimes
42 # with transparency and never write 16 bit images, so:
45 #option WRITE_16BIT off (this is the default with 'everything = off')