Home | History | Annotate | Download | only in preader
      1 /* minrdpngconf.h: headers to make a minimal png-read-only library
      2  *
      3  * Copyright (c) 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 MINPRDPNGCONF_H
     13 #define MINPRDPNGCONF_H
     14 
     15 #define PNG_NO_GLOBAL_ARRAYS
     16 
     17 #define PNG_NO_WARNINGS
     18 #define png_warning(s1,s2) ""
     19 #define png_chunk_warning(s1,s2) ""
     20 #define PNG_NO_ERROR_TEXT
     21 #define png_error(s1,s2) png_err(s1)
     22 #define png_chunk_error(s1,s2) png_err(s1)
     23 
     24 #define PNG_NO_ASSEMBLER_CODE
     25 #define PNG_NO_OPTIMIZED_CODE
     26 #define PNG_NO_READ_DITHER
     27 #define PNG_NO_READ_INVERT
     28 #define PNG_NO_READ_SHIFT
     29 #define PNG_NO_READ_PACK
     30 #define PNG_NO_READ_PACKSWAP
     31 #define PNG_NO_READ_FILLER
     32 #define PNG_NO_READ_SWAP
     33 #define PNG_NO_READ_SWAP_ALPHA
     34 #define PNG_NO_READ_INVERT_ALPHA
     35 #define PNG_NO_READ_RGB_TO_GRAY
     36 #define PNG_NO_READ_USER_TRANSFORM
     37 #define PNG_NO_READ_cHRM
     38 #define PNG_NO_READ_hIST
     39 #define PNG_NO_READ_iCCP
     40 #define PNG_NO_READ_pCAL
     41 #define PNG_NO_READ_pHYs
     42 #define PNG_NO_READ_sBIT
     43 #define PNG_NO_READ_sCAL
     44 #define PNG_NO_READ_sPLT
     45 #define PNG_NO_READ_TEXT
     46 #define PNG_NO_READ_tIME
     47 #define PNG_NO_READ_UNKNOWN_CHUNKS
     48 #define PNG_NO_READ_USER_CHUNKS
     49 #define PNG_NO_READ_EMPTY_PLTE
     50 #define PNG_NO_READ_OPT_PLTE
     51 #define PNG_NO_READ_STRIP_ALPHA
     52 #define PNG_NO_READ_oFFs
     53 #define PNG_NO_WARN_UNINITIALIZED_ROW
     54 
     55 #define PNG_NO_WRITE_SUPPORTED
     56 
     57 #define PNG_NO_INFO_IMAGE
     58 #define PNG_NO_USER_MEM
     59 #define PNG_NO_FIXED_POINT_SUPPORTED
     60 #define PNG_NO_MNG_FEATURES
     61 #define PNG_NO_USER_TRANSFORM_PTR
     62 #define PNG_NO_HANDLE_AS_UNKNOWN
     63 #define PNG_NO_CONSOLE_IO
     64 #define PNG_NO_ZALLOC_ZERO
     65 #define PNG_NO_ERROR_NUMBERS
     66 #define PNG_NO_EASY_ACCESS
     67 
     68 #endif /* MINPRDPNGCONF_H */
     69