277#define PNG_LIBPNG_VER_STRING "1.6.54"
278#define PNG_HEADER_VERSION_STRING " libpng version " PNG_LIBPNG_VER_STRING "\n"
281#define PNG_LIBPNG_VER_SHAREDLIB 16
282#define PNG_LIBPNG_VER_SONUM PNG_LIBPNG_VER_SHAREDLIB
283#define PNG_LIBPNG_VER_DLLNUM PNG_LIBPNG_VER_SHAREDLIB
286#define PNG_LIBPNG_VER_MAJOR 1
287#define PNG_LIBPNG_VER_MINOR 6
288#define PNG_LIBPNG_VER_RELEASE 54
293#define PNG_LIBPNG_VER_BUILD 0
296#define PNG_LIBPNG_BUILD_ALPHA 1
297#define PNG_LIBPNG_BUILD_BETA 2
298#define PNG_LIBPNG_BUILD_RC 3
299#define PNG_LIBPNG_BUILD_STABLE 4
300#define PNG_LIBPNG_BUILD_RELEASE_STATUS_MASK 7
303#define PNG_LIBPNG_BUILD_PATCH 8
305#define PNG_LIBPNG_BUILD_PRIVATE 16
307#define PNG_LIBPNG_BUILD_SPECIAL 32
310#define PNG_LIBPNG_BUILD_BASE_TYPE PNG_LIBPNG_BUILD_STABLE
319#define PNG_LIBPNG_VER 10654
331#ifndef PNG_VERSION_INFO_ONLY
350#ifdef PNG_USER_PRIVATEBUILD
351# define PNG_LIBPNG_BUILD_TYPE \
352 (PNG_LIBPNG_BUILD_BASE_TYPE | PNG_LIBPNG_BUILD_PRIVATE)
354# ifdef PNG_LIBPNG_SPECIALBUILD
355# define PNG_LIBPNG_BUILD_TYPE \
356 (PNG_LIBPNG_BUILD_BASE_TYPE | PNG_LIBPNG_BUILD_SPECIAL)
358# define PNG_LIBPNG_BUILD_TYPE (PNG_LIBPNG_BUILD_BASE_TYPE)
362#ifndef PNG_VERSION_INFO_ONLY
372#define png_libpng_ver png_get_header_ver(NULL)
542#ifdef PNG_TEXT_SUPPORTED
584#define PNG_TEXT_COMPRESSION_NONE_WR -3
585#define PNG_TEXT_COMPRESSION_zTXt_WR -2
586#define PNG_TEXT_COMPRESSION_NONE -1
587#define PNG_TEXT_COMPRESSION_zTXt 0
588#define PNG_ITXT_COMPRESSION_NONE 1
589#define PNG_ITXT_COMPRESSION_zTXt 2
590#define PNG_TEXT_COMPRESSION_LAST 3
611#if defined(PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED) ||\
612 defined(PNG_USER_CHUNKS_SUPPORTED)
642#define PNG_HAVE_IHDR 0x01
643#define PNG_HAVE_PLTE 0x02
644#define PNG_AFTER_IDAT 0x08
647#define PNG_UINT_31_MAX ((png_uint_32)0x7fffffffL)
648#define PNG_UINT_32_MAX ((png_uint_32)(-1))
649#define PNG_SIZE_MAX ((size_t)(-1))
654#define PNG_FP_1 100000
655#define PNG_FP_HALF 50000
656#define PNG_FP_MAX ((png_fixed_point)0x7fffffffL)
657#define PNG_FP_MIN (-PNG_FP_MAX)
661#define PNG_COLOR_MASK_PALETTE 1
662#define PNG_COLOR_MASK_COLOR 2
663#define PNG_COLOR_MASK_ALPHA 4
666#define PNG_COLOR_TYPE_GRAY 0
667#define PNG_COLOR_TYPE_PALETTE (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_PALETTE)
668#define PNG_COLOR_TYPE_RGB (PNG_COLOR_MASK_COLOR)
669#define PNG_COLOR_TYPE_RGB_ALPHA (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA)
670#define PNG_COLOR_TYPE_GRAY_ALPHA (PNG_COLOR_MASK_ALPHA)
672#define PNG_COLOR_TYPE_RGBA PNG_COLOR_TYPE_RGB_ALPHA
673#define PNG_COLOR_TYPE_GA PNG_COLOR_TYPE_GRAY_ALPHA
676#define PNG_COMPRESSION_TYPE_BASE 0
677#define PNG_COMPRESSION_TYPE_DEFAULT PNG_COMPRESSION_TYPE_BASE
680#define PNG_FILTER_TYPE_BASE 0
681#define PNG_INTRAPIXEL_DIFFERENCING 64
682#define PNG_FILTER_TYPE_DEFAULT PNG_FILTER_TYPE_BASE
685#define PNG_INTERLACE_NONE 0
686#define PNG_INTERLACE_ADAM7 1
687#define PNG_INTERLACE_LAST 2
690#define PNG_OFFSET_PIXEL 0
691#define PNG_OFFSET_MICROMETER 1
692#define PNG_OFFSET_LAST 2
695#define PNG_EQUATION_LINEAR 0
696#define PNG_EQUATION_BASE_E 1
697#define PNG_EQUATION_ARBITRARY 2
698#define PNG_EQUATION_HYPERBOLIC 3
699#define PNG_EQUATION_LAST 4
702#define PNG_SCALE_UNKNOWN 0
703#define PNG_SCALE_METER 1
704#define PNG_SCALE_RADIAN 2
705#define PNG_SCALE_LAST 3
708#define PNG_RESOLUTION_UNKNOWN 0
709#define PNG_RESOLUTION_METER 1
710#define PNG_RESOLUTION_LAST 2
713#define PNG_sRGB_INTENT_PERCEPTUAL 0
714#define PNG_sRGB_INTENT_RELATIVE 1
715#define PNG_sRGB_INTENT_SATURATION 2
716#define PNG_sRGB_INTENT_ABSOLUTE 3
717#define PNG_sRGB_INTENT_LAST 4
720#define PNG_KEYWORD_MAX_LENGTH 79
723#define PNG_MAX_PALETTE_LENGTH 256
730#define PNG_INFO_gAMA 0x0001U
731#define PNG_INFO_sBIT 0x0002U
732#define PNG_INFO_cHRM 0x0004U
733#define PNG_INFO_PLTE 0x0008U
734#define PNG_INFO_tRNS 0x0010U
735#define PNG_INFO_bKGD 0x0020U
736#define PNG_INFO_hIST 0x0040U
737#define PNG_INFO_pHYs 0x0080U
738#define PNG_INFO_oFFs 0x0100U
739#define PNG_INFO_tIME 0x0200U
740#define PNG_INFO_pCAL 0x0400U
741#define PNG_INFO_sRGB 0x0800U
742#define PNG_INFO_iCCP 0x1000U
743#define PNG_INFO_sPLT 0x2000U
744#define PNG_INFO_sCAL 0x4000U
745#define PNG_INFO_IDAT 0x8000U
746#define PNG_INFO_eXIf 0x10000U
747#define PNG_INFO_cICP 0x20000U
748#define PNG_INFO_cLLI 0x40000U
749#define PNG_INFO_mDCV 0x80000U
759#define PNG_INFO_acTL 0x100000U
760#define PNG_INFO_fcTL 0x200000U
761#define PNG_INFO_fdAT 0x400000U
799#ifdef PNG_PROGRESSIVE_READ_SUPPORTED
819#if defined(PNG_READ_USER_TRANSFORM_SUPPORTED) || \
820 defined(PNG_WRITE_USER_TRANSFORM_SUPPORTED)
825#ifdef PNG_USER_CHUNKS_SUPPORTED
829#ifdef PNG_UNKNOWN_CHUNKS_SUPPORTED
834#ifdef PNG_SETJMP_SUPPORTED
850#define PNG_TRANSFORM_IDENTITY 0x0000
851#define PNG_TRANSFORM_STRIP_16 0x0001
852#define PNG_TRANSFORM_STRIP_ALPHA 0x0002
853#define PNG_TRANSFORM_PACKING 0x0004
854#define PNG_TRANSFORM_PACKSWAP 0x0008
855#define PNG_TRANSFORM_EXPAND 0x0010
856#define PNG_TRANSFORM_INVERT_MONO 0x0020
857#define PNG_TRANSFORM_SHIFT 0x0040
858#define PNG_TRANSFORM_BGR 0x0080
859#define PNG_TRANSFORM_SWAP_ALPHA 0x0100
860#define PNG_TRANSFORM_SWAP_ENDIAN 0x0200
861#define PNG_TRANSFORM_INVERT_ALPHA 0x0400
862#define PNG_TRANSFORM_STRIP_FILLER 0x0800
864#define PNG_TRANSFORM_STRIP_FILLER_BEFORE PNG_TRANSFORM_STRIP_FILLER
865#define PNG_TRANSFORM_STRIP_FILLER_AFTER 0x1000
867#define PNG_TRANSFORM_GRAY_TO_RGB 0x2000
869#define PNG_TRANSFORM_EXPAND_16 0x4000
871#define PNG_TRANSFORM_SCALE_16 0x8000
875#define PNG_FLAG_MNG_EMPTY_PLTE 0x01
876#define PNG_FLAG_MNG_FILTER_64 0x04
877#define PNG_ALL_MNG_FEATURES 0x05
940#define png_check_sig(sig, n) (png_sig_cmp((sig), 0, (n)) == 0)
945 png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn),
951 png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn),
957PNG_EXPORT(7,
void, png_set_compression_buffer_size,
963#ifdef PNG_SETJMP_SUPPORTED
973# define png_jmpbuf(png_ptr) \
974 (*png_set_longjmp_fn((png_ptr), longjmp, (sizeof (jmp_buf))))
976# define png_jmpbuf(png_ptr) \
977 (LIBPNG_WAS_COMPILED_WITH__PNG_NO_SETJMP)
988#ifdef PNG_READ_SUPPORTED
996#ifdef PNG_USER_MEM_SUPPORTED
999 png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn,
1000 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn),
1004 png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn,
1005 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn),
1046PNG_EXPORT(20,
void, png_write_info_before_PLTE,
1051#ifdef PNG_SEQUENTIAL_READ_SUPPORTED
1057#ifdef PNG_TIME_RFC1123_SUPPORTED
1062#if PNG_LIBPNG_VER < 10700
1068PNG_EXPORT(241,
int, png_convert_to_rfc1123_buffer,
1072#ifdef PNG_CONVERT_tIME_SUPPORTED
1074PNG_EXPORT(24,
void, png_convert_from_struct_tm,
1082#ifdef PNG_READ_EXPAND_SUPPORTED
1086PNG_EXPORT(27,
void, png_set_expand_gray_1_2_4_to_8,
1094#ifdef PNG_READ_EXPAND_16_SUPPORTED
1102#if defined(PNG_READ_BGR_SUPPORTED) || defined(PNG_WRITE_BGR_SUPPORTED)
1108#ifdef PNG_READ_GRAY_TO_RGB_SUPPORTED
1114#ifdef PNG_READ_RGB_TO_GRAY_SUPPORTED
1116#define PNG_ERROR_ACTION_NONE 1
1117#define PNG_ERROR_ACTION_WARN 2
1118#define PNG_ERROR_ACTION_ERROR 3
1119#define PNG_RGB_TO_GRAY_DEFAULT (-1)
1128PNG_EXPORT(34, png_byte, png_get_rgb_to_gray_status,
1132#ifdef PNG_BUILD_GRAYSCALE_PALETTE_SUPPORTED
1133PNG_EXPORT(35,
void, png_build_grayscale_palette,
1137#ifdef PNG_READ_ALPHA_MODE_SUPPORTED
1172#define PNG_ALPHA_PNG 0
1173#define PNG_ALPHA_STANDARD 1
1174#define PNG_ALPHA_ASSOCIATED 1
1175#define PNG_ALPHA_PREMULTIPLIED 1
1176#define PNG_ALPHA_OPTIMIZED 2
1177#define PNG_ALPHA_BROKEN 3
1185#if defined(PNG_GAMMA_SUPPORTED) || defined(PNG_READ_ALPHA_MODE_SUPPORTED)
1189#define PNG_DEFAULT_sRGB -1
1190#define PNG_GAMMA_MAC_18 -2
1191#define PNG_GAMMA_sRGB 220000
1192#define PNG_GAMMA_LINEAR PNG_FP_1
1271#ifdef PNG_READ_STRIP_ALPHA_SUPPORTED
1276#if defined(PNG_READ_SWAP_ALPHA_SUPPORTED) || \
1277 defined(PNG_WRITE_SWAP_ALPHA_SUPPORTED)
1282#if defined(PNG_READ_INVERT_ALPHA_SUPPORTED) || \
1283 defined(PNG_WRITE_INVERT_ALPHA_SUPPORTED)
1288#if defined(PNG_READ_FILLER_SUPPORTED) || defined(PNG_WRITE_FILLER_SUPPORTED)
1293# define PNG_FILLER_BEFORE 0
1294# define PNG_FILLER_AFTER 1
1300#if defined(PNG_READ_SWAP_SUPPORTED) || defined(PNG_WRITE_SWAP_SUPPORTED)
1306#if defined(PNG_READ_PACK_SUPPORTED) || defined(PNG_WRITE_PACK_SUPPORTED)
1312#if defined(PNG_READ_PACKSWAP_SUPPORTED) || \
1313 defined(PNG_WRITE_PACKSWAP_SUPPORTED)
1319#if defined(PNG_READ_SHIFT_SUPPORTED) || defined(PNG_WRITE_SHIFT_SUPPORTED)
1325#if defined(PNG_READ_INTERLACING_SUPPORTED) || \
1326 defined(PNG_WRITE_INTERLACING_SUPPORTED)
1333PNG_EXPORT(45,
int, png_set_interlace_handling,
1337#if defined(PNG_READ_INVERT_SUPPORTED) || defined(PNG_WRITE_INVERT_SUPPORTED)
1343#ifdef PNG_READ_BACKGROUND_SUPPORTED
1358#ifdef PNG_READ_BACKGROUND_SUPPORTED
1359# define PNG_BACKGROUND_GAMMA_UNKNOWN 0
1360# define PNG_BACKGROUND_GAMMA_SCREEN 1
1361# define PNG_BACKGROUND_GAMMA_FILE 2
1362# define PNG_BACKGROUND_GAMMA_UNIQUE 3
1365#ifdef PNG_READ_SCALE_16_TO_8_SUPPORTED
1371#ifdef PNG_READ_STRIP_16_TO_8_SUPPORTED
1372#define PNG_READ_16_TO_8_SUPPORTED
1378#ifdef PNG_READ_QUANTIZE_SUPPORTED
1388#ifdef PNG_READ_GAMMA_SUPPORTED
1392#define PNG_GAMMA_THRESHOLD (PNG_GAMMA_THRESHOLD_FIXED*.00001)
1413#ifdef PNG_WRITE_FLUSH_SUPPORTED
1430#ifdef PNG_SEQUENTIAL_READ_SUPPORTED
1437#ifdef PNG_SEQUENTIAL_READ_SUPPORTED
1443#ifdef PNG_SEQUENTIAL_READ_SUPPORTED
1469#ifdef PNG_SEQUENTIAL_READ_SUPPORTED
1485PNG_EXPORT(65,
void, png_destroy_write_struct,
1501#define PNG_CRC_DEFAULT 0
1502#define PNG_CRC_ERROR_QUIT 1
1503#define PNG_CRC_WARN_DISCARD 2
1504#define PNG_CRC_WARN_USE 3
1505#define PNG_CRC_QUIET_USE 4
1506#define PNG_CRC_NO_CHANGE 5
1508#ifdef PNG_WRITE_SUPPORTED
1529#define PNG_NO_FILTERS 0x00
1530#define PNG_FILTER_NONE 0x08
1531#define PNG_FILTER_SUB 0x10
1532#define PNG_FILTER_UP 0x20
1533#define PNG_FILTER_AVG 0x40
1534#define PNG_FILTER_PAETH 0x80
1535#define PNG_FAST_FILTERS (PNG_FILTER_NONE | PNG_FILTER_SUB | PNG_FILTER_UP)
1536#define PNG_ALL_FILTERS (PNG_FAST_FILTERS | PNG_FILTER_AVG | PNG_FILTER_PAETH)
1541#define PNG_FILTER_VALUE_NONE 0
1542#define PNG_FILTER_VALUE_SUB 1
1543#define PNG_FILTER_VALUE_UP 2
1544#define PNG_FILTER_VALUE_AVG 3
1545#define PNG_FILTER_VALUE_PAETH 4
1546#define PNG_FILTER_VALUE_LAST 5
1548#ifdef PNG_WRITE_SUPPORTED
1549#ifdef PNG_WRITE_WEIGHTED_FILTER_SUPPORTED
1563#define PNG_FILTER_HEURISTIC_DEFAULT 0
1564#define PNG_FILTER_HEURISTIC_UNWEIGHTED 1
1565#define PNG_FILTER_HEURISTIC_WEIGHTED 2
1566#define PNG_FILTER_HEURISTIC_LAST 3
1575#ifdef PNG_WRITE_CUSTOMIZE_COMPRESSION_SUPPORTED
1582PNG_EXPORT(71,
void, png_set_compression_strategy,
1591PNG_EXPORT(73,
void, png_set_compression_method,
1595#ifdef PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION_SUPPORTED
1603PNG_EXPORT(224,
void, png_set_text_compression_strategy,
1612PNG_EXPORT(226,
void, png_set_text_compression_method,
1626#ifdef PNG_STDIO_SUPPORTED
1642 png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warning_fn));
1661 png_rw_ptr write_data_fn, png_flush_ptr output_flush_fn));
1678#ifdef PNG_USER_MEM_SUPPORTED
1682 png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn));
1688#ifdef PNG_READ_USER_TRANSFORM_SUPPORTED
1689PNG_EXPORT(84,
void, png_set_read_user_transform_fn,
1693#ifdef PNG_WRITE_USER_TRANSFORM_SUPPORTED
1694PNG_EXPORT(85,
void, png_set_write_user_transform_fn,
1698#ifdef PNG_USER_TRANSFORM_PTR_SUPPORTED
1699PNG_EXPORT(86,
void, png_set_user_transform_info,
1702 int user_transform_depth,
int user_transform_channels));
1708#ifdef PNG_USER_TRANSFORM_INFO_SUPPORTED
1722PNG_EXPORT(218, png_byte, png_get_current_pass_number,
1726#ifdef PNG_READ_USER_CHUNKS_SUPPORTED
1746PNG_EXPORT(88,
void, png_set_read_user_chunk_fn,
1748 png_voidp user_chunk_ptr, png_user_chunk_ptr read_user_chunk_fn));
1751#ifdef PNG_USER_CHUNKS_SUPPORTED
1756#ifdef PNG_PROGRESSIVE_READ_SUPPORTED
1760PNG_EXPORT(90,
void, png_set_progressive_read_fn,
1762 png_voidp progressive_ptr, png_progressive_info_ptr info_fn,
1763 png_progressive_row_ptr row_fn, png_progressive_end_ptr end_fn));
1781PNG_EXPORT(219,
size_t, png_process_data_pause,
1798PNG_EXPORT(93,
void, png_progressive_combine_row,
1834#define PNG_DESTROY_WILL_FREE_DATA 1
1835#define PNG_SET_WILL_FREE_DATA 1
1836#define PNG_USER_WILL_FREE_DATA 2
1838#define PNG_FREE_HIST 0x0008U
1839#define PNG_FREE_ICCP 0x0010U
1840#define PNG_FREE_SPLT 0x0020U
1841#define PNG_FREE_ROWS 0x0040U
1842#define PNG_FREE_PCAL 0x0080U
1843#define PNG_FREE_SCAL 0x0100U
1844#ifdef PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED
1845# define PNG_FREE_UNKN 0x0200U
1848#define PNG_FREE_PLTE 0x1000U
1849#define PNG_FREE_TRNS 0x2000U
1850#define PNG_FREE_TEXT 0x4000U
1851#define PNG_FREE_EXIF 0x8000U
1852#define PNG_FREE_ALL 0xffffU
1853#define PNG_FREE_MUL 0x4220U
1855#ifdef PNG_USER_MEM_SUPPORTED
1864#ifdef PNG_ERROR_TEXT_SUPPORTED
1880# define png_error(s1,s2) png_err(s1)
1881# define png_chunk_error(s1,s2) png_err(s1)
1884#ifdef PNG_WARNINGS_SUPPORTED
1893# define png_warning(s1,s2) ((void)(s1))
1894# define png_chunk_warning(s1,s2) ((void)(s1))
1897#ifdef PNG_BENIGN_ERRORS_SUPPORTED
1903#ifdef PNG_READ_SUPPORTED
1912# ifdef PNG_ALLOW_BENIGN_ERRORS
1913# define png_benign_error png_warning
1914# define png_chunk_benign_error png_chunk_warning
1916# define png_benign_error png_error
1917# define png_chunk_benign_error png_chunk_error
1941#ifdef PNG_INFO_IMAGE_SUPPORTED
1959#ifdef PNG_EASY_ACCESS_SUPPORTED
1977PNG_EXPORT(119, png_byte, png_get_filter_type,
1981PNG_EXPORT(120, png_byte, png_get_interlace_type,
1985PNG_EXPORT(121, png_byte, png_get_compression_type,
2003PNG_EXPORT(126, png_int_32, png_get_x_offset_pixels,
2005PNG_EXPORT(127, png_int_32, png_get_y_offset_pixels,
2007PNG_EXPORT(128, png_int_32, png_get_x_offset_microns,
2009PNG_EXPORT(129, png_int_32, png_get_y_offset_microns,
2014#ifdef PNG_READ_SUPPORTED
2020#ifdef PNG_bKGD_SUPPORTED
2026#ifdef PNG_bKGD_SUPPORTED
2032#ifdef PNG_cHRM_SUPPORTED
2035 double *white_x,
double *white_y,
2036 double *red_x,
double *red_y,
2037 double *green_x,
double *green_y,
2038 double *blue_x,
double *blue_y))
2060#ifdef PNG_cHRM_SUPPORTED
2063 double white_x,
double white_y,
2064 double red_x,
double red_y,
2065 double green_x,
double green_y,
2066 double blue_x,
double blue_y))
2088#ifdef PNG_cICP_SUPPORTED
2095#ifdef PNG_cICP_SUPPORTED
2098 png_byte colour_primaries, png_byte transfer_function,
2099 png_byte matrix_coefficients, png_byte video_full_range_flag));
2102#ifdef PNG_cLLI_SUPPORTED
2105 double *maximum_content_light_level,
2106 double *maximum_frame_average_light_level))
2113 png_uint_32p maximum_frame_average_light_level_scaled_by_10000))
2116#ifdef PNG_cLLI_SUPPORTED
2119 double maximum_content_light_level,
2120 double maximum_frame_average_light_level))
2127 png_uint_32 maximum_frame_average_light_level_scaled_by_10000))
2130#ifdef PNG_eXIf_SUPPORTED
2144#ifdef PNG_gAMA_SUPPORTED
2147 double *file_gamma))
2153#ifdef PNG_gAMA_SUPPORTED
2162#ifdef PNG_hIST_SUPPORTED
2172 int *bit_depth,
int *color_type,
2173 int *interlace_method,
int *compression_method,
int *filter_method));
2178 int bit_depth,
int color_type,
2179 int interlace_method,
int compression_method,
int filter_method));
2181#ifdef PNG_mDCV_SUPPORTED
2188 double *white_x,
double *white_y,
2189 double *red_x,
double *red_y,
2190 double *green_x,
double *green_y,
2191 double *blue_x,
double *blue_y,
2193 double *mastering_display_maximum_luminance,
2194 double *mastering_display_minimum_luminance))
2206 png_uint_32p mastering_display_minimum_luminance_scaled_by_10000))
2209#ifdef PNG_mDCV_SUPPORTED
2215 double white_x,
double white_y,
2216 double red_x,
double red_y,
2217 double green_x,
double green_y,
2218 double blue_x,
double blue_y,
2220 double mastering_display_maximum_luminance,
2221 double mastering_display_minimum_luminance))
2236 png_uint_32 mastering_display_minimum_luminance_scaled_by_10000))
2239#ifdef PNG_oFFs_SUPPORTED
2242 png_int_32 *offset_x, png_int_32 *offset_y,
int *unit_type));
2245#ifdef PNG_oFFs_SUPPORTED
2248 png_int_32 offset_x, png_int_32 offset_y,
int unit_type));
2251#ifdef PNG_pCAL_SUPPORTED
2254 png_charp *purpose, png_int_32 *X0, png_int_32 *X1,
2258#ifdef PNG_pCAL_SUPPORTED
2265#ifdef PNG_pHYs_SUPPORTED
2271#ifdef PNG_pHYs_SUPPORTED
2285#ifdef PNG_sBIT_SUPPORTED
2291#ifdef PNG_sBIT_SUPPORTED
2297#ifdef PNG_sRGB_SUPPORTED
2300 int *file_srgb_intent));
2303#ifdef PNG_sRGB_SUPPORTED
2306PNG_EXPORT(157,
void, png_set_sRGB_gAMA_and_cHRM,
2310#ifdef PNG_iCCP_SUPPORTED
2317#ifdef PNG_iCCP_SUPPORTED
2324#ifdef PNG_sPLT_SUPPORTED
2330#ifdef PNG_sPLT_SUPPORTED
2336#ifdef PNG_TEXT_SUPPORTED
2350#ifdef PNG_TEXT_SUPPORTED
2356#ifdef PNG_tIME_SUPPORTED
2362#ifdef PNG_tIME_SUPPORTED
2368#ifdef PNG_tRNS_SUPPORTED
2375#ifdef PNG_tRNS_SUPPORTED
2382#ifdef PNG_sCAL_SUPPORTED
2386#if defined(PNG_FLOATING_ARITHMETIC_SUPPORTED) || \
2387 defined(PNG_FLOATING_POINT_SUPPORTED)
2412#ifdef PNG_SET_UNKNOWN_CHUNKS_SUPPORTED
2511#ifdef PNG_HANDLE_AS_UNKNOWN_SUPPORTED
2512PNG_EXPORT(172,
void, png_set_keep_unknown_chunks,
2525#ifdef PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED
2538PNG_EXPORT(175,
void, png_set_unknown_chunk_location,
2554#ifdef PNG_INFO_IMAGE_SUPPORTED
2556#ifdef PNG_SEQUENTIAL_READ_SUPPORTED
2561#ifdef PNG_WRITE_SUPPORTED
2577#ifdef PNG_MNG_FEATURES_SUPPORTED
2583#define PNG_HANDLE_CHUNK_AS_DEFAULT 0
2584#define PNG_HANDLE_CHUNK_NEVER 1
2585#define PNG_HANDLE_CHUNK_IF_SAFE 2
2586#define PNG_HANDLE_CHUNK_ALWAYS 3
2587#define PNG_HANDLE_CHUNK_LAST 4
2592#ifdef PNG_ERROR_NUMBERS_SUPPORTED
2593PNG_EXPORT(185,
void, png_set_strip_error_numbers,
2598#ifdef PNG_SET_USER_LIMITS_SUPPORTED
2607PNG_EXPORT(189,
void, png_set_chunk_cache_max,
2612PNG_EXPORT(191,
void, png_set_chunk_malloc_max,
2618#if defined(PNG_INCH_CONVERSIONS_SUPPORTED)
2630#ifdef PNG_FIXED_POINT_SUPPORTED
2637#ifdef PNG_FIXED_POINT_SUPPORTED
2642# ifdef PNG_pHYs_SUPPORTED
2650#ifdef PNG_IO_STATE_SUPPORTED
2663# define PNG_IO_NONE 0x0000
2664# define PNG_IO_READING 0x0001
2665# define PNG_IO_WRITING 0x0002
2666# define PNG_IO_SIGNATURE 0x0010
2667# define PNG_IO_CHUNK_HDR 0x0020
2668# define PNG_IO_CHUNK_DATA 0x0040
2669# define PNG_IO_CHUNK_CRC 0x0080
2670# define PNG_IO_MASK_OP 0x000f
2671# define PNG_IO_MASK_LOC 0x00f0
2678#define PNG_INTERLACE_ADAM7_PASSES 7
2684#define PNG_PASS_START_ROW(pass) (((1&~(pass))<<(3-((pass)>>1)))&7)
2685#define PNG_PASS_START_COL(pass) (((1& (pass))<<(3-(((pass)+1)>>1)))&7)
2692#define PNG_PASS_ROW_OFFSET(pass) ((pass)>2?(8>>(((pass)-1)>>1)):8)
2693#define PNG_PASS_COL_OFFSET(pass) (1<<((7-(pass))>>1))
2699#define PNG_PASS_ROW_SHIFT(pass) ((pass)>2?(8-(pass))>>1:3)
2700#define PNG_PASS_COL_SHIFT(pass) ((pass)>1?(7-(pass))>>1:3)
2707#define PNG_PASS_ROWS(height, pass) (((height)+(((1<<PNG_PASS_ROW_SHIFT(pass))\
2708 -1)-PNG_PASS_START_ROW(pass)))>>PNG_PASS_ROW_SHIFT(pass))
2709#define PNG_PASS_COLS(width, pass) (((width)+(((1<<PNG_PASS_COL_SHIFT(pass))\
2710 -1)-PNG_PASS_START_COL(pass)))>>PNG_PASS_COL_SHIFT(pass))
2716#define PNG_ROW_FROM_PASS_ROW(y_in, pass) \
2717 (((y_in)<<PNG_PASS_ROW_SHIFT(pass))+PNG_PASS_START_ROW(pass))
2718#define PNG_COL_FROM_PASS_COL(x_in, pass) \
2719 (((x_in)<<PNG_PASS_COL_SHIFT(pass))+PNG_PASS_START_COL(pass))
2727#define PNG_PASS_MASK(pass,off) ( \
2728 ((0x110145AF>>(((7-(off))-(pass))<<2)) & 0xF) | \
2729 ((0x01145AF0>>(((7-(off))-(pass))<<2)) & 0xF0))
2731#define PNG_ROW_IN_INTERLACE_PASS(y, pass) \
2732 ((PNG_PASS_MASK(pass,0) >> ((y)&7)) & 1)
2733#define PNG_COL_IN_INTERLACE_PASS(x, pass) \
2734 ((PNG_PASS_MASK(pass,1) >> ((x)&7)) & 1)
2736#ifdef PNG_READ_COMPOSITE_NODIV_SUPPORTED
2751# define png_composite(composite, fg, alpha, bg) \
2753 png_uint_16 temp = (png_uint_16)((png_uint_16)(fg) \
2754 * (png_uint_16)(alpha) \
2755 + (png_uint_16)(bg)*(png_uint_16)(255 \
2756 - (png_uint_16)(alpha)) + 128); \
2757 (composite) = (png_byte)(((temp + (temp >> 8)) >> 8) & 0xff); \
2760# define png_composite_16(composite, fg, alpha, bg) \
2762 png_uint_32 temp = (png_uint_32)((png_uint_32)(fg) \
2763 * (png_uint_32)(alpha) \
2764 + (png_uint_32)(bg)*(65535 \
2765 - (png_uint_32)(alpha)) + 32768); \
2766 (composite) = (png_uint_16)(0xffff & ((temp + (temp >> 16)) >> 16)); \
2771# define png_composite(composite, fg, alpha, bg) \
2773 (png_byte)(0xff & (((png_uint_16)(fg) * (png_uint_16)(alpha) + \
2774 (png_uint_16)(bg) * (png_uint_16)(255 - (png_uint_16)(alpha)) + \
2777# define png_composite_16(composite, fg, alpha, bg) \
2779 (png_uint_16)(0xffff & (((png_uint_32)(fg) * (png_uint_32)(alpha) + \
2780 (png_uint_32)(bg)*(png_uint_32)(65535 - (png_uint_32)(alpha)) + \
2784#ifdef PNG_READ_INT_FUNCTIONS_SUPPORTED
2798#ifdef PNG_WRITE_INT_FUNCTIONS_SUPPORTED
2802#ifdef PNG_SAVE_INT_32_SUPPORTED
2811#ifdef PNG_WRITE_INT_FUNCTIONS_SUPPORTED
2817#ifdef PNG_USE_READ_MACROS
2822# define PNG_get_uint_32(buf) \
2823 (((png_uint_32)(*(buf)) << 24) + \
2824 ((png_uint_32)(*((buf) + 1)) << 16) + \
2825 ((png_uint_32)(*((buf) + 2)) << 8) + \
2826 ((png_uint_32)(*((buf) + 3))))
2831# define PNG_get_uint_16(buf) \
2833 (((unsigned int)(*(buf)) << 8) + \
2834 ((unsigned int)(*((buf) + 1)))))
2836# define PNG_get_int_32(buf) \
2837 ((png_int_32)((*(buf) & 0x80) \
2838 ? -((png_int_32)(((png_get_uint_32(buf)^0xffffffffU)+1U)&0x7fffffffU)) \
2839 : (png_int_32)png_get_uint_32(buf)))
2845# define png_get_uint_32(buf) PNG_get_uint_32(buf)
2846# define png_get_uint_16(buf) PNG_get_uint_16(buf)
2847# define png_get_int_32(buf) PNG_get_int_32(buf)
2852# define PNG_get_uint_32 (png_get_uint_32)
2853# define PNG_get_uint_16 (png_get_uint_16)
2854# define PNG_get_int_32 (png_get_int_32)
2858#ifdef PNG_CHECK_FOR_INVALID_INDEX_SUPPORTED
2861# ifdef PNG_GET_PALETTE_MAX_SUPPORTED
2913#if defined(PNG_SIMPLIFIED_READ_SUPPORTED) || \
2914 defined(PNG_SIMPLIFIED_WRITE_SUPPORTED)
2916#define PNG_IMAGE_VERSION 1
2939# define PNG_IMAGE_WARNING 1
2940# define PNG_IMAGE_ERROR 2
2950# define PNG_IMAGE_FAILED(png_cntrl) ((((png_cntrl).warning_or_error)&0x03)>1)
3025#define PNG_FORMAT_FLAG_ALPHA 0x01U
3026#define PNG_FORMAT_FLAG_COLOR 0x02U
3027#define PNG_FORMAT_FLAG_LINEAR 0x04U
3028#define PNG_FORMAT_FLAG_COLORMAP 0x08U
3030#ifdef PNG_FORMAT_BGR_SUPPORTED
3031# define PNG_FORMAT_FLAG_BGR 0x10U
3034#ifdef PNG_FORMAT_AFIRST_SUPPORTED
3035# define PNG_FORMAT_FLAG_AFIRST 0x20U
3038#define PNG_FORMAT_FLAG_ASSOCIATED_ALPHA 0x40U
3044#define PNG_FORMAT_GRAY 0
3045#define PNG_FORMAT_GA PNG_FORMAT_FLAG_ALPHA
3046#define PNG_FORMAT_AG (PNG_FORMAT_GA|PNG_FORMAT_FLAG_AFIRST)
3047#define PNG_FORMAT_RGB PNG_FORMAT_FLAG_COLOR
3048#define PNG_FORMAT_BGR (PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_BGR)
3049#define PNG_FORMAT_RGBA (PNG_FORMAT_RGB|PNG_FORMAT_FLAG_ALPHA)
3050#define PNG_FORMAT_ARGB (PNG_FORMAT_RGBA|PNG_FORMAT_FLAG_AFIRST)
3051#define PNG_FORMAT_BGRA (PNG_FORMAT_BGR|PNG_FORMAT_FLAG_ALPHA)
3052#define PNG_FORMAT_ABGR (PNG_FORMAT_BGRA|PNG_FORMAT_FLAG_AFIRST)
3057#define PNG_FORMAT_LINEAR_Y PNG_FORMAT_FLAG_LINEAR
3058#define PNG_FORMAT_LINEAR_Y_ALPHA (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_ALPHA)
3059#define PNG_FORMAT_LINEAR_RGB (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR)
3060#define PNG_FORMAT_LINEAR_RGB_ALPHA \
3061 (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA)
3068#define PNG_FORMAT_RGB_COLORMAP (PNG_FORMAT_RGB|PNG_FORMAT_FLAG_COLORMAP)
3069#define PNG_FORMAT_BGR_COLORMAP (PNG_FORMAT_BGR|PNG_FORMAT_FLAG_COLORMAP)
3070#define PNG_FORMAT_RGBA_COLORMAP (PNG_FORMAT_RGBA|PNG_FORMAT_FLAG_COLORMAP)
3071#define PNG_FORMAT_ARGB_COLORMAP (PNG_FORMAT_ARGB|PNG_FORMAT_FLAG_COLORMAP)
3072#define PNG_FORMAT_BGRA_COLORMAP (PNG_FORMAT_BGRA|PNG_FORMAT_FLAG_COLORMAP)
3073#define PNG_FORMAT_ABGR_COLORMAP (PNG_FORMAT_ABGR|PNG_FORMAT_FLAG_COLORMAP)
3093#define PNG_IMAGE_SAMPLE_CHANNELS(fmt)\
3094 (((fmt)&(PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA))+1)
3097#define PNG_IMAGE_SAMPLE_COMPONENT_SIZE(fmt)\
3098 ((((fmt) & PNG_FORMAT_FLAG_LINEAR) >> 2)+1)
3103#define PNG_IMAGE_SAMPLE_SIZE(fmt)\
3104 (PNG_IMAGE_SAMPLE_CHANNELS(fmt) * PNG_IMAGE_SAMPLE_COMPONENT_SIZE(fmt))
3110#define PNG_IMAGE_MAXIMUM_COLORMAP_COMPONENTS(fmt)\
3111 (PNG_IMAGE_SAMPLE_CHANNELS(fmt) * 256)
3126#define PNG_IMAGE_PIXEL_(test,fmt)\
3127 (((fmt)&PNG_FORMAT_FLAG_COLORMAP)?1:test(fmt))
3129#define PNG_IMAGE_PIXEL_CHANNELS(fmt)\
3130 PNG_IMAGE_PIXEL_(PNG_IMAGE_SAMPLE_CHANNELS,fmt)
3135#define PNG_IMAGE_PIXEL_COMPONENT_SIZE(fmt)\
3136 PNG_IMAGE_PIXEL_(PNG_IMAGE_SAMPLE_COMPONENT_SIZE,fmt)
3141#define PNG_IMAGE_PIXEL_SIZE(fmt) PNG_IMAGE_PIXEL_(PNG_IMAGE_SAMPLE_SIZE,fmt)
3145#define PNG_IMAGE_ROW_STRIDE(image)\
3146 (PNG_IMAGE_PIXEL_CHANNELS((image).format) * (image).width)
3157#define PNG_IMAGE_BUFFER_SIZE(image, row_stride)\
3158 (PNG_IMAGE_PIXEL_COMPONENT_SIZE((image).format)*(image).height*(row_stride))
3166#define PNG_IMAGE_SIZE(image)\
3167 PNG_IMAGE_BUFFER_SIZE(image, PNG_IMAGE_ROW_STRIDE(image))
3172#define PNG_IMAGE_COLORMAP_SIZE(image)\
3173 (PNG_IMAGE_SAMPLE_SIZE((image).format) * (image).colormap_entries)
3185#define PNG_IMAGE_FLAG_COLORSPACE_NOT_sRGB 0x01
3190#define PNG_IMAGE_FLAG_FAST 0x02
3201#define PNG_IMAGE_FLAG_16BIT_sRGB 0x04
3219#ifdef PNG_SIMPLIFIED_READ_SUPPORTED
3226#ifdef PNG_STDIO_SUPPORTED
3227PNG_EXPORT(234,
int, png_image_begin_read_from_file,
3233PNG_EXPORT(235,
int, png_image_begin_read_from_stdio,
3238PNG_EXPORT(236,
int, png_image_begin_read_from_memory,
3285#ifdef PNG_SIMPLIFIED_WRITE_SUPPORTED
3302#ifdef PNG_SIMPLIFIED_WRITE_STDIO_SUPPORTED
3305 const char *
file,
int convert_to_8bit,
const void *
buffer,
3306 png_int_32 row_stride,
const void *colormap));
3309PNG_EXPORT(240,
int, png_image_write_to_stdio,
3312 png_int_32 row_stride,
const void *colormap));
3337PNG_EXPORT(245,
int, png_image_write_to_memory,
3340 int convert_to_8_bit,
3341 const void *
buffer, png_int_32 row_stride,
const void *colormap));
3364#define png_image_write_get_memory_size(image, size, convert_to_8_bit, buffer,\
3365 row_stride, colormap)\
3366 png_image_write_to_memory(&(image), 0, &(size), convert_to_8_bit, buffer,\
3367 row_stride, colormap)
3383#define PNG_IMAGE_DATA_SIZE(image) (PNG_IMAGE_SIZE(image)+(image).height)
3393#ifndef PNG_ZLIB_MAX_SIZE
3394# define PNG_ZLIB_MAX_SIZE(b) ((b)+(((b)+7U)>>3)+(((b)+63U)>>6)+11U)
3403#define PNG_IMAGE_COMPRESSED_SIZE_MAX(image)\
3404 PNG_ZLIB_MAX_SIZE((png_alloc_size_t)PNG_IMAGE_DATA_SIZE(image))
3407#define PNG_IMAGE_PNG_SIZE_MAX_(image, image_size)\
3408 ((8U+25U+16U+44U+12U+\
3409 (((image).format&PNG_FORMAT_FLAG_COLORMAP)?\
3410 12U+3U*(image).colormap_entries+\
3411 (((image).format&PNG_FORMAT_FLAG_ALPHA)?\
3412 12U+(image).colormap_entries:0U):0U)+\
3413 12U)+(12U*((image_size)/PNG_ZBUF_SIZE))+(image_size))
3420#define PNG_IMAGE_PNG_SIZE_MAX(image)\
3421 PNG_IMAGE_PNG_SIZE_MAX_(image, PNG_IMAGE_COMPRESSED_SIZE_MAX(image))
3454#ifdef PNG_SET_OPTION_SUPPORTED
3457#ifdef PNG_ARM_NEON_API_SUPPORTED
3458# define PNG_ARM_NEON 0
3462#define PNG_MAXIMUM_INFLATE_WINDOW 2
3465#define PNG_SKIP_sRGB_CHECK_PROFILE 4
3468#ifdef PNG_MIPS_MSA_API_SUPPORTED
3469# define PNG_MIPS_MSA 6
3473#ifdef PNG_DISABLE_ADLER32_CHECK_SUPPORTED
3474# define PNG_IGNORE_ADLER32 8
3478#ifdef PNG_POWERPC_VSX_API_SUPPORTED
3479# define PNG_POWERPC_VSX 10
3483#ifdef PNG_MIPS_MMI_API_SUPPORTED
3484# define PNG_MIPS_MMI 12
3488#ifdef PNG_RISCV_RVV_API_SUPPORTED
3489# define PNG_RISCV_RVV 14
3493#define PNG_OPTION_NEXT 16
3496#define PNG_OPTION_UNSET 0
3497#define PNG_OPTION_INVALID 1
3498#define PNG_OPTION_OFF 2
3499#define PNG_OPTION_ON 3
3516#ifdef PNG_EXPORT_LAST_ORDINAL
3517 PNG_EXPORT_LAST_ORDINAL(259);
static const char * onoff(int bool)
void error_message(HWND hwnd, const char *msg)
static const WCHAR version[]
struct png_info_def *typedef unsigned char **typedef struct png_info_def *typedef struct png_info_def *typedef struct png_info_def *typedef unsigned char ** row
GLuint GLuint GLsizei GLenum type
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLint GLint GLsizei GLsizei height
GLint GLint GLsizei width
GLenum const GLfloat * params
GLenum GLuint GLenum GLsizei const GLchar * buf
GLuint GLsizei GLsizei * length
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean flag
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
void display_row(char *data, int off, int len)
static const char filler[0x1000]
static char memory[1024 *256]
png_voidp PNGAPI png_get_io_ptr(png_const_structrp png_ptr)
png_const_charp PNGAPI png_get_copyright(png_const_structrp png_ptr)
png_const_charp PNGAPI png_get_header_ver(png_const_structrp png_ptr)
png_const_charp PNGAPI png_get_libpng_ver(png_const_structrp png_ptr)
png_const_charp PNGAPI png_get_header_version(png_const_structrp png_ptr)
png_uint_32 PNGAPI png_access_version_number(void)
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point *int_blue_Z png_set_cHRM_XYZ
#define png_get_uint_16(buf)
png_unknown_chunk * png_unknown_chunkp
png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point * int_green_y
png_structrp png_fixed_point screen_gamma
png_set_rgb_to_gray_fixed
png_const_structrp png_const_inforp double * red_X
png_const_structrp png_const_inforp double double double double double double double double * blue_Y
png_sPLT_t ** png_sPLT_tpp
png_get_x_offset_inches_fixed
png_const_structrp png_const_inforp int * unit
struct png_row_info_struct png_row_info
png_structrp png_const_color_16p int background_gamma_code
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point * int_blue_X
const png_text * png_const_textp
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point * int_green_Y
png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point * int_blue_x
#define png_get_int_32(buf)
const png_color_8 * png_const_color_8p
png_const_structrp png_const_inforp double double double double double double * green_Z
png_color_8 ** png_color_8pp
png_const_structrp png_const_inforp double double double * red_Z
png_unknown_chunk ** png_unknown_chunkpp
struct png_control * png_controlp
png_sPLT_entry ** png_sPLT_entrypp
png_const_structrp png_const_inforp png_uint_32p png_uint_32p maximum_frame_average_light_level_scaled_by_10000 png_set_cLLI_fixed
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point *int_blue_Z png_const_structrp png_inforp double double double double double double double double double blue_Z png_set_cHRM_XYZ_fixed
png_row_info ** png_row_infopp
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point * int_red_X
png_set_filter_heuristics_fixed
png_row_info * png_row_infop
const png_struct * png_const_structp
png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_uint_32p mastering_display_maximum_luminance_scaled_by_10000
struct png_sPLT_struct png_sPLT_t
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point png_fixed_point * int_red_Y
png_structrp int int num_weights
png_const_structrp png_const_inforp double double double double double * green_Y
png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point * int_blue_y
png_const_structrp png_const_inforp double double double double * green_X
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point * int_blue_Y
png_structrp int png_fixed_point red
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_get_cHRM_XYZ_fixed
png_const_structrp png_const_inforp double double * red_Y
struct png_image * png_imagep
png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point * int_green_x
png_color_16 ** png_color_16pp
png_sPLT_entry * png_sPLT_entryp
png_const_structrp png_const_inforp png_fixed_point *int_file_gamma png_set_gAMA_fixed
struct png_text_struct png_text
struct png_time_struct png_time
png_const_structrp png_const_inforp png_fixed_point png_fixed_point * int_white_y
struct png_unknown_chunk_t png_unknown_chunk
png_color_16 * png_color_16p
struct png_sPLT_entry_struct png_sPLT_entry
png_const_structrp png_const_inforp info_ptr png_get_y_offset_inches_fixed
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point * int_green_Z
struct png_color_struct png_color
png_const_structrp png_const_inforp double double double double double double double * blue_X
png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_uint_32p png_uint_32p mastering_display_minimum_luminance_scaled_by_10000 png_set_mDCV_fixed
#define png_get_uint_32(buf)
const png_sPLT_entry * png_const_sPLT_entryp
png_const_structrp png_const_inforp png_uint_32p maximum_content_light_level_scaled_by_10000
png_get_pixel_aspect_ratio_fixed
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point * int_green_X
struct png_color_8_struct png_color_8
png_structrp int heuristic_method
const png_time * png_const_timep
png_const_structrp png_const_inforp double double double double double double double double double *blue_Z png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point * int_red_Z
png_structrp int error_action
const png_info * png_const_infop
png_const_structrp png_const_inforp png_fixed_point * int_white_x
const png_struct *PNG_RESTRICT png_const_structrp
png_struct ** png_structpp
png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point png_fixed_point * int_red_y
png_const_structrp png_const_inforp int png_fixed_point * width
const png_info *PNG_RESTRICT png_const_inforp
char * png_libpng_version_1_6_54
png_structrp int int png_const_fixed_point_p filter_weights
const png_unknown_chunk * png_const_unknown_chunkp
png_structrp png_const_color_16p int int need_expand
const png_sPLT_t * png_const_sPLT_tp
png_structrp png_const_color_16p background_color
png_info *PNG_RESTRICT png_inforp
png_const_structrp png_const_inforp png_fixed_point png_fixed_point png_fixed_point * int_red_x
struct png_color_16_struct png_color_16
const png_color * png_const_colorp
png_struct *PNG_RESTRICT png_structrp
png_color_8 * png_color_8p
png_const_structrp png_const_inforp info_ptr
const png_color_16 * png_const_color_16p
#define PNG_FUNCTION(type, name, args, attributes)
#define PNG_EXPORTA(ordinal, type, name, args, attributes)
png_int_32 png_fixed_point
const png_byte * png_const_bytep
const png_uint_16 * png_const_uint_16p
#define PNG_CALLBACK(type, name, args)
png_uint_16 * png_uint_16p
png_uint_32 * png_uint_32p
const png_fixed_point * png_const_fixed_point_p
#define PNG_EXPORT(ordinal, type, name, args)
const char * png_const_charp
#define PNG_REMOVED(ordinal, type, name, args, attributes)
#define PNG_FIXED_EXPORT(ordinal, type, name, args)
#define PNG_FP_EXPORT(ordinal, type, name, args)
const png_double * png_const_doublep
wchar_t const *const size_t const buffer_size
wchar_t tm const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t ** out