Lines Matching defs:LodePNGInfo

483 typedef struct LodePNGInfo {  struct
485 unsigned compression_method;/*compression method of the original file. Always 0.*/
486 unsigned filter_method; /*filter method of the original file*/
487 unsigned interlace_method; /*interlace method of the original file: 0=none, 1=Adam7*/
488 LodePNGColorMode color; /*color type and bits, palette and transparency of the PNG file*/
516 unsigned background_defined; /*is a suggested background color given?*/
517 unsigned background_r; /*red/gray/palette component of suggested background color*/
518 unsigned background_g; /*green component of suggested background color*/
519 unsigned background_b; /*blue component of suggested background color*/
541 …size_t text_num; /*the amount of texts in these char** buffers (there may be more texts in itext)*/
542 char ** text_keys; /*the keyword of a text chunk (e.g. "Comment")*/
543 char ** text_strings; /*the actual text*/
553 size_t itext_num; /*the amount of international texts in this PNG*/
554 char ** itext_keys; /*the English keyword of the text chunk (e.g. "Comment")*/
555 …_langtags; /*language tag for this text's language, ISO/IEC 646 string, e.g. ISO 639 language tag*/
556 char ** itext_transkeys; /*keyword translated to the international language - UTF-8 string*/
557 char ** itext_strings; /*the actual international text - UTF-8 string*/
560 unsigned time_defined; /*set to 1 to make the encoder generate a tIME chunk*/
561 LodePNGTime time;
564 …efined; /*if 0, there is no pHYs chunk and the values below are undefined, if 1 else there is one*/
565 unsigned phys_x; /*pixels per unit in x direction*/
566 unsigned phys_y; /*pixels per unit in y direction*/
567 unsigned phys_unit; /*may be 0 (unknown unit) or 1 (metre)*/
580 unsigned gama_defined; /* Whether a gAMA chunk is present (0 = not present, 1 = present). */
581 unsigned gama_gamma; /* Gamma exponent times 100000 */
584 unsigned chrm_defined; /* Whether a cHRM chunk is present (0 = not present, 1 = present). */
585 unsigned chrm_white_x; /* White Point x times 100000 */
586 unsigned chrm_white_y; /* White Point y times 100000 */
587 unsigned chrm_red_x; /* Red x times 100000 */
588 unsigned chrm_red_y; /* Red y times 100000 */
589 unsigned chrm_green_x; /* Green x times 100000 */
590 unsigned chrm_green_y; /* Green y times 100000 */
591 unsigned chrm_blue_x; /* Blue x times 100000 */
592 unsigned chrm_blue_y; /* Blue y times 100000 */
599 unsigned srgb_defined; /* Whether an sRGB chunk is present (0 = not present, 1 = present). */
600 …tent; /* Rendering intent: 0=perceptual, 1=rel. colorimetric, 2=saturation, 3=abs. colorimetric */
623 … unsigned iccp_defined; /* Whether an iCCP chunk is present (0 = not present, 1 = present). */
624 char * iccp_name; /* Null terminated string with profile name, 1-79 bytes */
630 unsigned char * iccp_profile;
631 unsigned iccp_profile_size; /* The size of iccp_profile in bytes */
666 unsigned sbit_defined; /*is significant bits given? if not, the values below are unused*/
667 unsigned sbit_r; /*red or gray component of significant bits*/
668 unsigned sbit_g; /*green component of significant bits*/
669 unsigned sbit_b; /*blue component of significant bits*/
670 unsigned sbit_a; /*alpha component of significant bits*/
695 } LodePNGInfo; argument