Lines Matching defs:png_info_def
55 struct png_info_def struct
58 png_uint_32 width; /* width of image in pixels (from IHDR) */
59 png_uint_32 height; /* height of image in pixels (from IHDR) */
60 png_uint_32 valid; /* valid chunk data (see PNG_INFO_ below) */
61 png_size_t rowbytes; /* bytes needed to hold an untransformed row */
62 png_colorp palette; /* array of color values (valid & PNG_INFO_PLTE) */
63 png_uint_16 num_palette; /* number of color entries in "palette" (PLTE) */
64 png_uint_16 num_trans; /* number of transparent palette color (tRNS) */
65 png_byte bit_depth; /* 1, 2, 4, 8, or 16 bits/channel (from IHDR) */
66 png_byte color_type; /* see PNG_COLOR_TYPE_ below (from IHDR) */
68 png_byte compression_type; /* must be PNG_COMPRESSION_TYPE_BASE (IHDR) */
69 png_byte filter_type; /* must be PNG_FILTER_TYPE_BASE (from IHDR) */
70 png_byte interlace_type; /* One of PNG_INTERLACE_NONE, PNG_INTERLACE_ADAM7 */
75 png_byte channels; /* number of data channels per pixel (1, 2, 3, 4) */
76 png_byte pixel_depth; /* number of bits per pixel */
77 png_byte spare_byte; /* to align the data, and for future use */
81 png_byte signature[8]; /* magic bytes read by libpng from start of file */
101 png_colorspace colorspace;
106 png_charp iccp_name; /* profile name */
107 png_bytep iccp_profile; /* International Color Consortium profile data */
108 png_uint_32 iccp_proflen; /* ICC profile data length */
120 int num_text; /* number of comments read or comments to write */
121 int max_text; /* current size of text array */
122 png_textp text; /* array of comments read or comments to write */
129 png_time mod_time;
139 png_color_8 sig_bit; /* significant bits in color channels */
153 png_bytep trans_alpha; /* alpha values for paletted image */
154 png_color_16 trans_color; /* transparent color for non-palette image */
164 png_color_16 background;
173 png_int_32 x_offset; /* x offset on page */
174 png_int_32 y_offset; /* y offset on page */
175 png_byte offset_unit_type; /* offset units type */
183 png_uint_32 x_pixels_per_unit; /* horizontal pixel density */
184 png_uint_32 y_pixels_per_unit; /* vertical pixel density */
185 png_byte phys_unit_type; /* resolution type (see PNG_RESOLUTION_ below) */
195 png_uint_16p hist;
210 png_charp pcal_purpose; /* pCAL chunk description string */
211 png_int_32 pcal_X0; /* minimum value */
212 png_int_32 pcal_X1; /* maximum value */
213 png_charp pcal_units; /* Latin-1 string giving physical units */
214 png_charpp pcal_params; /* ASCII strings containing parameter values */
215 png_byte pcal_type; /* equation type (see PNG_EQUATION_ below) */
216 png_byte pcal_nparams; /* number of parameters given in pcal_params */
220 png_uint_32 free_me; /* flags items libpng is responsible for freeing */
224 png_unknown_chunkp unknown_chunks;
229 int unknown_chunks_num;
234 png_sPLT_tp splt_palettes;
235 int splt_palettes_num; /* Match type returned by png_get API */
246 png_byte scal_unit; /* unit of physical scale */
247 png_charp scal_s_width; /* string containing height */
248 png_charp scal_s_height; /* string containing width */
255 png_bytepp row_pointers; /* the image bits */