pnglibconf.dfa 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579
  1. # scripts/pnglibconf.dfa - library build configuration control
  2. #
  3. @/*- pnglibconf.dfn intermediate file
  4. @ * generated from scripts/pnglibconf.dfa
  5. @ */
  6. #
  7. com pnglibconf.h - library build configuration
  8. com
  9. version
  10. com
  11. com Copyright (c) 1998-2011 Glenn Randers-Pehrson
  12. com
  13. com This code is released under the libpng license.
  14. com For conditions of distribution and use, see the disclaimer
  15. com and license in png.h
  16. com
  17. file pnglibconf.h scripts/pnglibconf.dfa PNGLCONF_H
  18. # This file is preprocessed by scripts/options.awk and the
  19. # C compiler to generate 'pnglibconf.h' - a list of all the
  20. # configuration options. The file lists the various options
  21. # that can *only* be specified during the libpng build;
  22. # pnglibconf.h freezes the definitons selected for the specific
  23. # build.
  24. #
  25. # The syntax is detailed in scripts/options.awk, this is a summary
  26. # only:
  27. #
  28. # setting <name> [requires ...] [default]
  29. # #define PNG_<name> <value> /* value comes from current setting */
  30. # option <name> [requires ...] [if ...] [enables ...] [disabled]
  31. # #define PNG_<name>_SUPPORTED if the requirements are met and
  32. # enable the other options listed
  33. # chunk <name> [requires ...] [disabled]
  34. # Enable chunk processing for the given ancillary chunk
  35. #
  36. # Note that the 'on' and 'off' keywords, while valid on both option
  37. # and chunk, should not be used in this file because they force the
  38. # relevant options on or off.
  39. #----------------------------------------------------------------------
  40. # The following setting, option and chunk values can all be changed
  41. # while building libpng:
  42. #
  43. # setting: change 'setting' lines to fine tune library performance,
  44. # changes to the settings don't affect the libpng API functionally
  45. #
  46. # option: change 'option' lines to remove or add capabilities from
  47. # or to the library; options change the library API
  48. #
  49. # chunk: change 'chunk' lines to remove capabilities to process
  50. # optional ('ancillary') chunks. This does not prevent PNG
  51. # decoding but does change the libpng API because some chunks
  52. # will be ignored.
  53. #
  54. # There are three ways of disabling features, in no particular order:
  55. #
  56. # 1) Create 'pngusr.h', enter the required private build information
  57. # detailed below and #define PNG_NO_<option> for each option you
  58. # don't want in that file in that file. You can also turn on options
  59. # using PNG_<option>_SUPPORTED. When you have finished rerun
  60. # configure and rebuild pnglibconf.h file with -DPNG_USER_CONFIG:
  61. #
  62. # make clean
  63. # CPPFLAGS='-DPNG_USER_CONFIG' ./configure
  64. # make pnglibconf.h
  65. #
  66. # pngusr.h is only used during the creation of pnglibconf.h, but it
  67. # is safer to ensure that -DPNG_USER_CONFIG is specified throughout
  68. # the build by changing the CPPFLAGS passed to the initial ./configure
  69. #
  70. # 2) Add definitions of the settings you want to change to
  71. # CPPFLAGS; for example:
  72. #
  73. # -DPNG_DEFAULT_READ_MACROS=0
  74. #
  75. # (This would change the default to *not* use read macros.) Be
  76. # very careful to change only settings that don't alter the API
  77. # because this approach bypasses the private build checking. You
  78. # can also change settings from pngpriv.h (read pngpriv.h) safely
  79. # without API changes. Do that in the same way.
  80. #
  81. # 3) Write a new '.dfa' file (say 'pngusr.dfa') and in this file
  82. # provide override values for setting entries and turn option or
  83. # chunk values explicitly 'on' or 'off':
  84. #
  85. # setting FOO default VALUE
  86. # option BAR [on|off]
  87. #
  88. # Then add this file to the options.awk command line (the *first*
  89. # one) after this file. The make macro DFA_XTRA is provided to make
  90. # this easier (set it like CPPFLAGS prior to running ./configure).
  91. # Look at the builds below contrib/pngminim for some extreme examples
  92. # of how this can be used.
  93. #
  94. # Don't edit this file unless you are contributing a patch to
  95. # libpng and need new or modified options/settings.
  96. #----------------------------------------------------------------------
  97. # The following causes commented out #undef lines to be written to
  98. # pnglibconf.h; this can be stopped by logunsupported=0 in a later
  99. # file or on the command line (after pnglibconf.dfa)
  100. logunsupported = 1
  101. # PNG_USER_CONFIG has to be defined on the compiler command line
  102. # to cause pngusr.h to be read while constructing pnglibconf.h
  103. #
  104. # If you create a private DLL you need to define the following
  105. # macros in the file 'pngusr.h' and set -DPNG_USER_CONFIG for
  106. # compilation (i.e. in CFLAGS.)
  107. # #define PNG_USER_PRIVATEBUILD \
  108. # <Describes by whom and why this version of the DLL was built>
  109. # e.g. #define PNG_USER_PRIVATEBUILD "Build by MyCompany for xyz reasons."
  110. # #define PNG_USER_DLLFNAME_POSTFIX <two-letter postfix that serve to
  111. # distinguish your DLL from those of the official release. These
  112. # correspond to the trailing letters that come after the version
  113. # number and must match your private DLL name>
  114. # e.g. // private DLL "libpng13gx.dll"
  115. # #define PNG_USER_DLLFNAME_POSTFIX "gx"
  116. #
  117. # The following macros are also at your disposal if you want to complete the
  118. # DLL VERSIONINFO structure.
  119. # - PNG_USER_VERSIONINFO_COMMENTS
  120. # - PNG_USER_VERSIONINFO_COMPANYNAME
  121. # - PNG_USER_VERSIONINFO_LEGALTRADEMARKS
  122. @#ifdef PNG_USER_CONFIG
  123. @# include "pngusr.h"
  124. @#endif
  125. # This is a special fixup for the Watcom C compiler on Windows, which has
  126. # multiple procedure call standards. Unless PNG_API_RULE is set explicitly
  127. # (i.e. if it is not defined at this point) it will be forced to '2' here when
  128. # using Watcom. This indicates to the other header files that Watcom behaviour
  129. # is required where appropriate.
  130. @#ifdef __WATCOMC__
  131. @# ifndef PNG_API_RULE
  132. @# define PNG_API_RULE 2 /* Use Watcom calling conventions */
  133. @# endif
  134. @#endif
  135. # Note that PNG_USR_CONFIG only has an effect when building
  136. # pnglibconf.h
  137. setting USER_CONFIG
  138. setting USER_PRIVATEBUILD
  139. setting USER_DLLFNAME_POSTFIX
  140. setting USER_VERSIONINFO_COMMENTS
  141. setting USER_VERSIONINFO_COMPANYNAME
  142. setting USER_VERSIONINFO_LEGALTRADEMARKS
  143. # Record the 'API rule' used to select calling conventions on
  144. # those systems that support such things (see all the comments in
  145. # pngconf.h)
  146. # Changing this setting has a fundamental affect on the PNG ABI,
  147. # do not release shared libraries with this changed.
  148. setting API_RULE default 0
  149. # Default to using the read macros
  150. setting DEFAULT_READ_MACROS default 1
  151. # The alternative is to call functions to read PNG values, if
  152. # the functions are turned *off* the read macros must always
  153. # be enabled, so turning this off will actually force the
  154. # USE_READ_MACROS option on (see pngconf.h)
  155. option READ_INT_FUNCTIONS requires READ
  156. # The same for write, but these can only be switched off if
  157. # no writing is required at all - hence the use of an 'enables'
  158. # not a 'requires' below:
  159. option WRITE_INT_FUNCTIONS disabled
  160. option WRITE enables WRITE_INT_FUNCTIONS
  161. # Generic options - affect both read and write.
  162. option WARNINGS
  163. option BENIGN_ERRORS
  164. option MNG_FEATURES
  165. # Arithmetic options, the first is the big switch that chooses between internal
  166. # floating and fixed point arithmetic implementations - it does not affect any
  167. # APIs. The second two (the _POINT settings) switch off individual APIs.
  168. option FLOATING_ARITHMETIC
  169. option FLOATING_POINT enables ok_math
  170. option FIXED_POINT enables ok_math
  171. # Added at libpng version 1.4.0
  172. option ERROR_TEXT
  173. # The following is always on (defined empty)
  174. setting CALLOC_SUPPORTED default
  175. # This protects us against compilers that run on a windowing system
  176. # and thus don't have or would rather us not use the stdio types:
  177. # stdin, stdout, and stderr. The only one currently used is stderr
  178. # in png_error() and png_warning(). #defining PNG_NO_CONSOLE_IO will
  179. # prevent these from being compiled and used. #defining PNG_NO_STDIO
  180. # will also prevent these, plus will prevent the entire set of stdio
  181. # macros and functions (FILE *, printf, etc.) from being compiled and used,
  182. # unless (PNG_DEBUG > 0) has been #defined.
  183. option STDIO
  184. option CONSOLE_IO requires STDIO
  185. # Note: prior to 1.5.0 this option could not be disabled if STDIO
  186. # was enabled. Prior to 1.5.3 this option required STDIO
  187. option TIME_RFC1123
  188. # PNG_SETJMP_NOT_SUPPORTED is an old equivalent for NO_SETJMP
  189. option SETJMP
  190. = NO_SETJMP SETJMP_NOT_SUPPORTED
  191. # For the moment this is disabled (no code support):
  192. option ERROR_NUMBERS disabled
  193. # If this is disabled it is not possible for apps to get the
  194. # values from the 'info' structure, this effectively removes
  195. # quite a lot of the READ API.
  196. option EASY_ACCESS
  197. # Added at libpng-1.2.0
  198. option USER_MEM
  199. # Added at libpng-1.4.0
  200. option IO_STATE
  201. # This is only for PowerPC big-endian and 680x0 systems
  202. # some testing, not enabled by default.
  203. # NO LONGER USED
  204. #option READ_BIG_ENDIAN disabled
  205. # Allow users to control limits on what the READ code will
  206. # read:
  207. # Added at libpng-1.2.43; adds limit fields to png_struct,
  208. # allows some usages of these fields
  209. option USER_LIMITS
  210. # Added at libpng-1.2.6; adds setting APIs, allows additional
  211. # usage of this field (UTSL)
  212. option SET_USER_LIMITS requires USER_LIMITS
  213. # Feature added at libpng-1.4.0, this flag added at 1.4.1
  214. option SET_USER_LIMITS enables SET_CHUNK_CACHE_LIMIT
  215. # Feature added at libpng-1.4.1, this flag added at 1.4.1
  216. option SET_USER_LIMITS enables SET_CHUNK_MALLOC_LIMIT
  217. # Added at libpng-1.0.16 and 1.2.6. To accept all valid PNGs no matter
  218. # how large, set these two limits to 0x7fffffff
  219. setting USER_WIDTH_MAX default 1000000
  220. setting USER_HEIGHT_MAX default 1000000
  221. # Added at libpng-1.2.43. To accept all valid PNGs no matter
  222. # how large, set these two limits to 0.
  223. setting USER_CHUNK_CACHE_MAX default 0
  224. # Added at libpng-1.2.43
  225. setting USER_CHUNK_MALLOC_MAX default 0
  226. # All of the following options relate to code capabilities for
  227. # processing image data before creating a PNG or after reading one.
  228. # You can remove these capabilities safely and still be PNG
  229. # conformant, however the library that results is still non-standard.
  230. # See the comments above about how to change options and settings.
  231. # READ options
  232. option READ enables READ_INTERLACING
  233. # Disabling READ_16BIT does not disable reading 16-bit PNG files, but it
  234. # forces them to be chopped down to 8-bit, and disables any 16-bit
  235. # processing after that has happened. You need to be sure to enable
  236. # READ_SCALE_16_TO_8 or READ_STRIP_16_TO_8 when you disable READ_16BIT for
  237. # this to work properly. You should disable the other option if you need to
  238. # ensure a particular conversion (otherwise the app can chose.)
  239. option READ_16BIT requires READ enables 16BIT
  240. option READ_QUANTIZE requires READ
  241. option READ_TRANSFORMS requires READ
  242. = NO_READ_TRANSFORMS READ_TRANSFORMS_NOT_SUPPORTED
  243. option READ_EXPAND requires READ_TRANSFORMS
  244. option READ_EXPAND_16 requires READ_TRANSFORMS READ_16BIT enables READ_EXPAND
  245. option READ_SHIFT requires READ_TRANSFORMS
  246. option READ_PACK requires READ_TRANSFORMS
  247. option READ_BGR requires READ_TRANSFORMS
  248. option READ_SWAP requires READ_TRANSFORMS READ_16BIT
  249. option READ_PACKSWAP requires READ_TRANSFORMS
  250. option READ_INVERT requires READ_TRANSFORMS
  251. option READ_BACKGROUND requires READ_TRANSFORMS enables READ_STRIP_ALPHA
  252. option READ_STRIP_16_TO_8 requires READ_TRANSFORMS
  253. option READ_SCALE_16_TO_8 requires READ_TRANSFORMS
  254. option READ_FILLER requires READ_TRANSFORMS
  255. option READ_GAMMA requires READ_TRANSFORMS enables READ_gAMA
  256. option READ_GRAY_TO_RGB requires READ_TRANSFORMS
  257. option READ_ALPHA_MODE requires READ_TRANSFORMS enables READ_GAMMA
  258. option READ_SWAP_ALPHA requires READ_TRANSFORMS
  259. option READ_INVERT_ALPHA requires READ_TRANSFORMS
  260. option READ_STRIP_ALPHA requires READ_TRANSFORMS
  261. option READ_USER_TRANSFORM requires READ_TRANSFORMS
  262. option READ_RGB_TO_GRAY requires READ_TRANSFORMS
  263. option PROGRESSIVE_READ requires READ
  264. option SEQUENTIAL_READ requires READ
  265. # You can define PNG_NO_PROGRESSIVE_READ if you don't do progressive reading.
  266. # This is not talking about interlacing capability! You'll still have
  267. # interlacing unless you turn off the following which is required
  268. # for PNG-compliant decoders. (In other words, do not do this - in
  269. # fact it can't be disabled from the command line!)
  270. #option READ_INTERLACING requires READ
  271. option READ_COMPOSITE_NODIV requires READ
  272. = NO_READ_COMPOSITE_NODIV NO_READ_COMPOSITED_NODIV
  273. # Inch conversions
  274. option INCH_CONVERSIONS
  275. = INCH_CONVERSIONS INCH_CONVERSIONS
  276. # API to build a grayscale palette
  277. option BUILD_GRAYSCALE_PALETTE
  278. # IN DEVELOPMENT
  279. # These are currently experimental features; define them if you want
  280. # NOTHING HERE
  281. # WRITE options
  282. option WRITE
  283. # Disabling WRITE_16BIT prevents 16-bit PNG files from being
  284. # generated.
  285. option WRITE_16BIT requires WRITE enables 16BIT
  286. option WRITE_TRANSFORMS requires WRITE
  287. = NO_WRITE_TRANSFORMS WRITE_TRANSFORMS_NOT_SUPPORTED
  288. option WRITE_SHIFT requires WRITE_TRANSFORMS
  289. option WRITE_PACK requires WRITE_TRANSFORMS
  290. option WRITE_BGR requires WRITE_TRANSFORMS
  291. option WRITE_SWAP requires WRITE_TRANSFORMS WRITE_16BIT
  292. option WRITE_PACKSWAP requires WRITE_TRANSFORMS
  293. option WRITE_INVERT requires WRITE_TRANSFORMS
  294. option WRITE_FILLER requires WRITE_TRANSFORMS
  295. option WRITE_SWAP_ALPHA requires WRITE_TRANSFORMS
  296. option WRITE_INVERT_ALPHA requires WRITE_TRANSFORMS
  297. option WRITE_USER_TRANSFORM requires WRITE_TRANSFORMS
  298. # This is not required for PNG-compliant encoders, but can cause
  299. # trouble if left undefined
  300. option WRITE_INTERLACING requires WRITE
  301. # The following depends, internally, on WEIGHT_SHIFT and COST_SHIFT
  302. # where are set below.
  303. option WRITE_WEIGHTED_FILTER requires WRITE
  304. option WRITE_FLUSH requires WRITE
  305. # Note: these can be turned off explicitly if not required by the
  306. # apps implementing the user transforms
  307. option USER_TRANSFORM_PTR if READ_USER_TRANSFORM WRITE_USER_TRANSFORM
  308. option USER_TRANSFORM_INFO if READ_USER_TRANSFORM WRITE_USER_TRANSFORM
  309. # This enables API to set compression parameters for compressing
  310. # non-IDAT chunks (zTXt, iTXt, iCCP, and unknown chunks). This feature
  311. # was added at libpng-1.5.3.
  312. option WRITE_CUSTOMIZE_ZTXT_COMPRESSION requires WRITE
  313. # Any chunks you are not interested in, you can undef here. The
  314. # ones that allocate memory may be expecially important (hIST,
  315. # tEXt, zTXt, tRNS, pCAL). Others will just save time and make png_info
  316. # a bit smaller.
  317. # The size of the png_text structure changed in libpng-1.0.6 when
  318. # iTXt support was added. iTXt support was turned off by default through
  319. # libpng-1.2.x, to support old apps that malloc the png_text structure
  320. # instead of calling png_set_text() and letting libpng malloc it. It
  321. # was turned on by default in libpng-1.4.0.
  322. option READ_ANCILLARY_CHUNKS requires READ
  323. # PNG_READ_ANCILLARY_CHUNKS_NOT_SUPPORTED is deprecated.
  324. = NO_READ_ANCILLARY_CHUNKS READ_ANCILLARY_CHUNKS_NOT_SUPPORTED
  325. option WRITE_ANCILLARY_CHUNKS requires WRITE
  326. # PNG_WRITE_ANCILLARY_CHUNKS_NOT_SUPPORTED is deprecated.
  327. = NO_WRITE_ANCILLARY_CHUNKS WRITE_ANCILLARY_CHUNKS_NOT_SUPPORTED
  328. # These options disable *all* the text chunks if turned off
  329. option READ_TEXT requires READ_ANCILLARY_CHUNKS enables TEXT
  330. option WRITE_TEXT requires WRITE_ANCILLARY_CHUNKS enables TEXT
  331. # Moved to pnglibconf.h at libpng-1.5.0
  332. # Feature support: in 1.4 this was in pngconf.h, but the following
  333. # features have no affect on the libpng API. Add library
  334. # only features to the end of this list. Add features that
  335. # affect the API above. (Note: the list of chunks follows
  336. # the library-only settings.)
  337. #
  338. # BUILD TIME ONLY OPTIONS
  339. # These options do not affect the API but rather alter how the
  340. # API is implemented, they get recorded in pnglibconf.h, but
  341. # can't be changed by the application.
  342. # Check the correctness of cHRM chunks
  343. option CHECK_cHRM requires cHRM
  344. #
  345. # Artificially align memory - the code typically aligns to 8 byte
  346. # boundaries if this is switched on, it's a small waste of space
  347. # but can help (in theory) on some architectures. Only affects
  348. # internal structures. Added at libpng 1.4.0
  349. option ALIGN_MEMORY
  350. # Buggy compilers (e.g., gcc 2.7.2.2) need PNG_NO_POINTER_INDEXING
  351. # See png[wr]util.c, normally this should always be *on*
  352. option POINTER_INDEXING
  353. # Other defines for things like memory and the like can go here.
  354. # BUILD TIME SETTINGS
  355. # Like build time options these do not affect the API, but they
  356. # may be useful to applications because they record details of
  357. # how the API will behave particularly with regard to overall
  358. # accuracy.
  359. # This controls how fine the quantizing gets. As this allocates
  360. # a largish chunk of memory (32K), those who are not as concerned
  361. # with quantizing quality can decrease some or all of these.
  362. setting QUANTIZE_RED_BITS default 5
  363. setting QUANTIZE_GREEN_BITS default 5
  364. setting QUANTIZE_BLUE_BITS default 5
  365. # This controls how fine the gamma correction becomes when you
  366. # are only interested in 8 bits anyway. Increasing this value
  367. # results in more memory being used, and more pow() functions
  368. # being called to fill in the gamma tables. Don't set this value
  369. # less then 8, and even that may not work (I haven't tested it).
  370. setting MAX_GAMMA_8 default 11
  371. # This controls how much a difference in gamma we can tolerate before
  372. # we actually start doing gamma conversion, it's a fixed point value,
  373. # so the default below is 0.05, meaning libpng ignores corrections in
  374. # the range 0.95 to 1.05
  375. setting GAMMA_THRESHOLD_FIXED default 5000
  376. # Scaling factor for filter heuristic weighting calculations
  377. setting WEIGHT_SHIFT default 8
  378. setting COST_SHIFT default 3
  379. # Precision to use when converting a floating point value to a PNG
  380. # extension format string in an sCAL chunk (only relevant if the
  381. # floating point API is enabled)
  382. setting sCAL_PRECISION default 5
  383. # This is the size of the compression buffer, and thus the size of
  384. # an IDAT chunk. Make this whatever size you feel is best for your
  385. # machine. One of these will be allocated per png_struct. When this
  386. # is full, it writes the data to the disk, and does some other
  387. # calculations. Making this an extremely small size may slow
  388. # the library down, but you may want to experiment to determine
  389. # where it becomes significant, if you are concerned with memory
  390. # usage. Note that zlib allocates at least 32Kb also. For readers,
  391. # this describes the size of the buffer available to read the data in.
  392. # Unless this gets smaller than the size of a row (compressed),
  393. # it should not make much difference how big this is.
  394. setting ZBUF_SIZE default 8192
  395. # Ancillary chunks
  396. chunk bKGD
  397. chunk cHRM
  398. chunk gAMA
  399. chunk hIST
  400. chunk iCCP
  401. chunk iTXt
  402. chunk oFFs
  403. chunk pCAL
  404. chunk sCAL
  405. chunk pHYs
  406. chunk sBIT
  407. chunk sPLT
  408. chunk sRGB
  409. chunk tEXt requires TEXT
  410. chunk tIME
  411. chunk tRNS
  412. chunk zTXt
  413. # This only affects support of the optional PLTE chunk in RGB and RGBA
  414. # images. Notice that READ_ANCILLARY_CHUNKS therefore disables part
  415. # of the regular chunk reading too.
  416. option READ_OPT_PLTE requires READ_ANCILLARY_CHUNKS
  417. option READ_UNKNOWN_CHUNKS requires READ
  418. option READ_UNKNOWN_CHUNKS enables UNKNOWN_CHUNKS READ_USER_CHUNKS
  419. option READ_USER_CHUNKS requires READ enables USER_CHUNKS
  420. option CONVERT_tIME requires WRITE_ANCILLARY_CHUNKS
  421. # The "tm" structure is not supported on WindowsCE
  422. @#ifdef _WIN32_WCE
  423. @# define PNG_NO_CONVERT_tIME
  424. @#endif
  425. option WRITE_FILTER requires WRITE
  426. option WRITE_UNKNOWN_CHUNKS requires WRITE
  427. option HANDLE_AS_UNKNOWN
  428. option SAVE_INT_32 requires WRITE
  429. # png_save_int_32 is required by the ancillary chunks oFFs and pCAL
  430. # added at libpng-1.5.4
  431. option WRITE_OPTIMIZE_CMF requires WRITE
  432. option READ_COMPRESSED_TEXT disabled
  433. option READ_iCCP enables READ_COMPRESSED_TEXT
  434. option READ_iTXt enables READ_COMPRESSED_TEXT
  435. option READ_zTXt enables READ_COMPRESSED_TEXT
  436. option READ_COMPRESSED_TEXT enables READ_TEXT
  437. option WRITE_oFFs enables SAVE_INT_32
  438. option WRITE_pCAL enables SAVE_INT_32
  439. option WRITE_COMPRESSED_TEXT disabled
  440. option WRITE_iCCP enables WRITE_COMPRESSED_TEXT
  441. option WRITE_iTXt enables WRITE_COMPRESSED_TEXT
  442. option WRITE_zTXt enables WRITE_COMPRESSED_TEXT
  443. option WRITE_COMPRESSED_TEXT enables WRITE_TEXT
  444. # Turn this off to disable png_read_png() and png_write_png() and
  445. # leave the row_pointers member out of the info structure.
  446. option INFO_IMAGE