Home | History | Annotate | Download | only in encoder
      1 /* minwrpngconf.h: headers to make a minimal png-write-only library
      2  *
      3  * Copyright (c) 2007, 2009 Glenn Randers-Pehrson
      4  *
      5  * This code is released under the libpng license.
      6  * For conditions of distribution and use, see the disclaimer
      7  * and license in png.h
      8  *
      9  * Derived from pngcrush.h, Copyright 1998-2007, Glenn Randers-Pehrson
     10  */
     11 
     12 #ifndef MINWRPNGCONF_H
     13 #define MINWRPNGCONF_H
     14 
     15 #define PNG_NO_GLOBAL_ARRAYS
     16 
     17 #define PNG_NO_READ_SUPPORTED
     18 
     19 #define PNG_NO_WARNINGS
     20 #define png_warning(s1,s2) ""
     21 #define png_chunk_warning(s1,s2) ""
     22 #define PNG_NO_ERROR_TEXT
     23 #define png_error(s1,s2) png_err(s1)
     24 #define png_chunk_error(s1,s2) png_err(s1)
     25 
     26 #define PNG_NO_WRITE_BACKGROUND
     27 #define PNG_NO_WRITE_GAMMA
     28 #define PNG_NO_WRITE_DITHER
     29 #define PNG_NO_WRITE_INVERT
     30 #define PNG_NO_WRITE_SHIFT
     31 #define PNG_NO_WRITE_PACK
     32 #define PNG_NO_WRITE_PACKSWAP
     33 #define PNG_NO_WRITE_FILLER
     34 #define PNG_NO_WRITE_SWAP
     35 #define PNG_NO_WRITE_SWAP_ALPHA
     36 #define PNG_NO_WRITE_INVERT_ALPHA
     37 #define PNG_NO_WRITE_RGB_TO_GRAY
     38 #define PNG_NO_WRITE_USER_TRANSFORM
     39 #define PNG_NO_WRITE_bKGD
     40 #define PNG_NO_WRITE_cHRM
     41 #define PNG_NO_WRITE_gAMA
     42 #define PNG_NO_WRITE_hIST
     43 #define PNG_NO_WRITE_iCCP
     44 #define PNG_NO_WRITE_oFFs
     45 #define PNG_NO_WRITE_pCAL
     46 #define PNG_NO_WRITE_pHYs
     47 #define PNG_NO_WRITE_sBIT
     48 #define PNG_NO_WRITE_sCAL
     49 #define PNG_NO_WRITE_sPLT
     50 #define PNG_NO_WRITE_sRGB
     51 #define PNG_NO_WRITE_TEXT
     52 #define PNG_NO_WRITE_tIME
     53 #define PNG_NO_WRITE_UNKNOWN_CHUNKS
     54 #define PNG_NO_WRITE_USER_CHUNKS
     55 #define PNG_NO_WRITE_EMPTY_PLTE
     56 #define PNG_NO_WRITE_OPT_PLTE
     57 #define PNG_NO_WRITE_FILTER
     58 #define PNG_NO_WRITE_WEIGHTED_FILTER
     59 #define PNG_NO_WRITE_INTERLACING_SUPPORTED
     60 #define PNG_NO_WRITE_FLUSH
     61 
     62 #define PNG_NO_INFO_IMAGE
     63 #define PNG_NO_USER_MEM
     64 #define PNG_NO_FIXED_POINT_SUPPORTED
     65 #define PNG_NO_MNG_FEATURES
     66 #define PNG_NO_USER_TRANSFORM_PTR
     67 #define PNG_NO_HANDLE_AS_UNKNOWN
     68 #define PNG_NO_CONSOLE_IO
     69 #define PNG_NO_ZALLOC_ZERO
     70 #define PNG_NO_ERROR_NUMBERS
     71 #define PNG_NO_EASY_ACCESS
     72 
     73 #endif /* MINWRPNGCONF_H */
     74