pngusr.h 2.0 KB
Newer Older
1
/* minwrpngconf.h: headers to make a minimal png-write-only library
2
 *
3
 * Copyright (c) 2007, 2010 Glenn Randers-Pehrson
4
 *
5 6
 * This code is released under the libpng license.
 * For conditions of distribution and use, see the disclaimer
7
 * and license in png.h
8
 *
9 10 11 12 13 14
 * Derived from pngcrush.h, Copyright 1998-2007, Glenn Randers-Pehrson
 */

#ifndef MINWRPNGCONF_H
#define MINWRPNGCONF_H

15 16 17
#define PNG_USER_PRIVATEBUILD "PNG minimal build"
#define PNG_USER_DLLFNAME_POSTFIX "MN"

18 19 20 21 22 23
#define PNG_NO_READ_SUPPORTED

#define PNG_NO_WARNINGS
#define PNG_NO_ERROR_TEXT

#define PNG_NO_WRITE_BACKGROUND
24
#define PNG_NO_WRITE_BGR
25
#define PNG_NO_WRITE_GAMMA
26
#define PNG_NO_WRITE_QUANTIZE
27 28 29 30 31
#define PNG_NO_WRITE_INVERT
#define PNG_NO_WRITE_SHIFT
#define PNG_NO_WRITE_PACK
#define PNG_NO_WRITE_PACKSWAP
#define PNG_NO_WRITE_FILLER
32
#define PNG_NO_WRITE_SWAP
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
#define PNG_NO_WRITE_SWAP_ALPHA
#define PNG_NO_WRITE_INVERT_ALPHA
#define PNG_NO_WRITE_RGB_TO_GRAY
#define PNG_NO_WRITE_USER_TRANSFORM
#define PNG_NO_WRITE_bKGD
#define PNG_NO_WRITE_cHRM
#define PNG_NO_WRITE_gAMA
#define PNG_NO_WRITE_hIST
#define PNG_NO_WRITE_iCCP
#define PNG_NO_WRITE_oFFs
#define PNG_NO_WRITE_pCAL
#define PNG_NO_WRITE_pHYs
#define PNG_NO_WRITE_sBIT
#define PNG_NO_WRITE_sCAL
#define PNG_NO_WRITE_sPLT
48
#define PNG_NO_WRITE_sRGB
49 50 51 52 53 54 55 56 57
#define PNG_NO_WRITE_TEXT
#define PNG_NO_WRITE_tIME
#define PNG_NO_WRITE_UNKNOWN_CHUNKS
#define PNG_NO_WRITE_USER_CHUNKS
#define PNG_NO_WRITE_EMPTY_PLTE
#define PNG_NO_WRITE_OPT_PLTE
#define PNG_NO_WRITE_FILTER
#define PNG_NO_WRITE_WEIGHTED_FILTER
#define PNG_NO_WRITE_INTERLACING_SUPPORTED
58
#define PNG_NO_WRITE_FLUSH
59 60

#define PNG_NO_INFO_IMAGE
61
#define PNG_NO_IO_STATE
62 63 64 65 66 67 68 69 70
#define PNG_NO_USER_MEM
#define PNG_NO_FIXED_POINT_SUPPORTED
#define PNG_NO_MNG_FEATURES
#define PNG_NO_USER_TRANSFORM_PTR
#define PNG_NO_HANDLE_AS_UNKNOWN
#define PNG_NO_CONSOLE_IO
#define PNG_NO_ZALLOC_ZERO
#define PNG_NO_ERROR_NUMBERS
#define PNG_NO_EASY_ACCESS
71 72
#define PNG_NO_USER_LIMITS
#define PNG_NO_SET_USER_LIMITS
73
#define PNG_NO_TIME_RFC1123
74 75

#endif /* MINWRPNGCONF_H */