1 2 /* pnginfo.h - header file for PNG reference library 3 * 4 * Copyright (c) 2018 Cosmin Truta 5 * Copyright (c) 1998-2002,2004,2006-2013,2018 Glenn Randers-Pehrson 6 * Copyright (c) 1996-1997 Andreas Dilger 7 * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. 8 * 9 * This code is released under the libpng license. 10 * For conditions of distribution and use, see the disclaimer 11 * and license in png.h 12 */ 13 #ifndef PNGINFO_H 14 #define PNGINFO_H 15 16 struct png_info_def 17 { 18 png_uint_32 width; 19 png_uint_32 height; 20 png_uint_32 valid; 21 size_t rowbytes; 22 png_colorp palette; 23 png_uint_16 num_palette; 24 png_uint_16 num_trans; 25 png_byte bit_depth; 26 png_byte color_type; 27 png_byte compression_type; 28 png_byte filter_type; 29 png_byte interlace_type; 30 png_byte channels; 31 png_byte pixel_depth; 32 png_byte spare_byte; 33 png_uint_32 free_me; 34 35 }; 36 #endif 37