~random-stuff/libpng/libpng-1.6.x

« back to all changes in this revision

Viewing changes to contrib/pngminim/preader/pngusr.h

  • Committer: Sérgio Benjamim
  • Date: 2015-10-10 23:00:20 UTC
  • Revision ID: sergio_br2@yahoo.com.br-20151010230020-gdtmmv30zn25396n
Update to 1.6.18.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* minrdpngconf.h: headers to make a minimal png-read-only library
2
2
 *
3
 
 * Copyright (c) 2009 Glenn Randers-Pehrson
 
3
 * Copyright (c) 2009, 2010-2013 Glenn Randers-Pehrson
4
4
 *
5
5
 * This code is released under the libpng license.
6
6
 * For conditions of distribution and use, see the disclaimer
12
12
#ifndef MINPRDPNGCONF_H
13
13
#define MINPRDPNGCONF_H
14
14
 
15
 
#define PNG_NO_WARNINGS
16
 
#define png_warning(s1,s2) ""
17
 
#define png_chunk_warning(s1,s2) ""
18
 
#define PNG_NO_ERROR_TEXT
19
 
#define png_error(s1,s2) png_err(s1)
20
 
#define png_chunk_error(s1,s2) png_err(s1)
21
 
 
22
 
#define PNG_NO_READ_BGR
23
 
#define PNG_NO_READ_DITHER
24
 
#define PNG_NO_READ_INVERT
25
 
#define PNG_NO_READ_SHIFT
26
 
#define PNG_NO_READ_PACK
27
 
#define PNG_NO_READ_PACKSWAP
28
 
#define PNG_NO_READ_FILLER
29
 
#define PNG_NO_READ_SWAP
30
 
#define PNG_NO_READ_SWAP_ALPHA
31
 
#define PNG_NO_READ_INVERT_ALPHA
32
 
#define PNG_NO_READ_RGB_TO_GRAY
33
 
#define PNG_NO_READ_USER_TRANSFORM
34
 
#define PNG_NO_READ_cHRM
35
 
#define PNG_NO_READ_hIST
36
 
#define PNG_NO_READ_iCCP
37
 
#define PNG_NO_READ_oFFs
38
 
#define PNG_NO_READ_pCAL
39
 
#define PNG_NO_READ_pHYs
40
 
#define PNG_NO_READ_sBIT
41
 
#define PNG_NO_READ_sCAL
42
 
#define PNG_NO_READ_sPLT
43
 
#define PNG_NO_READ_TEXT
44
 
#define PNG_NO_READ_tIME
45
 
#define PNG_NO_READ_UNKNOWN_CHUNKS
46
 
#define PNG_NO_READ_USER_CHUNKS
47
 
#define PNG_NO_READ_EMPTY_PLTE
48
 
#define PNG_NO_READ_OPT_PLTE
49
 
#define PNG_NO_READ_STRIP_ALPHA
50
 
 
51
 
#define PNG_NO_WRITE_SUPPORTED
52
 
 
53
 
#define PNG_NO_INFO_IMAGE
54
 
#define PNG_NO_IO_STATE
55
 
#define PNG_NO_USER_MEM
56
 
#define PNG_NO_FIXED_POINT_SUPPORTED
57
 
#define PNG_NO_MNG_FEATURES
58
 
#define PNG_NO_USER_TRANSFORM_PTR
59
 
#define PNG_NO_HANDLE_AS_UNKNOWN
60
 
#define PNG_NO_CONSOLE_IO
61
 
#define PNG_NO_ZALLOC_ZERO
62
 
#define PNG_NO_ERROR_NUMBERS
63
 
#define PNG_NO_EASY_ACCESS
64
 
#define PNG_NO_USER_LIMITS
65
 
#define PNG_NO_SET_USER_LIMITS
66
 
#define PNG_NO_TIME_RFC1123
 
15
/* To include pngusr.h set -DPNG_USER_CONFIG in CPPFLAGS */
 
16
 
 
17
/* List options to turn off features of the build that do not
 
18
 * affect the API (so are not recorded in pnglibconf.h)
 
19
 */
 
20
 
 
21
#define PNG_ALIGN_TYPE PNG_ALIGN_NONE
67
22
 
68
23
#endif /* MINPRDPNGCONF_H */