Searched refs:PNG_FORMAT_FLAG_COLOR (Results 1 – 8 of 8) sorted by relevance
1360 format |= PNG_FORMAT_FLAG_COLOR; in png_image_format()1433 if ((format & PNG_FORMAT_FLAG_COLOR) != 0 && ((png_ptr->colorspace.flags in png_image_read_header()1769 int convert_to_Y = (image->format & PNG_FORMAT_FLAG_COLOR) == 0 && in png_create_colormap_entry()2137 if ((output_format & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_read_colormap()2395 if ((output_format & PNG_FORMAT_FLAG_COLOR) == 0 || in png_image_read_colormap()2514 if ((output_format & PNG_FORMAT_FLAG_COLOR) == 0) in png_image_read_colormap()3292 (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? 3 : 1; in png_image_read_composite()3701 if ((change & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_read_direct()3704 if ((format & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_read_direct()3729 change &= ~PNG_FORMAT_FLAG_COLOR; in png_image_read_direct()[all …]
2779 #define PNG_FORMAT_FLAG_COLOR 0x02U /* color format: otherwise grayscale */ macro2800 #define PNG_FORMAT_RGB PNG_FORMAT_FLAG_COLOR2801 #define PNG_FORMAT_BGR (PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_BGR)2812 #define PNG_FORMAT_LINEAR_RGB (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR)2814 (PNG_FORMAT_FLAG_LINEAR|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA)2847 (((fmt)&(PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA))+1)
1539 unsigned int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? in png_write_image_16bit()1698 unsigned int channels = (image->format & PNG_FORMAT_FLAG_COLOR) != 0 ? in png_write_image_8bit()2011 ((format & PNG_FORMAT_FLAG_COLOR) ? PNG_COLOR_MASK_COLOR : 0) + in png_image_write_main()2064 if (colormap == 0 && (format & PNG_FORMAT_FLAG_COLOR) != 0) in png_image_write_main()2086 if ((format & ~(png_uint_32)(PNG_FORMAT_FLAG_COLOR | PNG_FORMAT_FLAG_LINEAR | in png_image_write_main()
3919 PNG_FORMAT_FLAG_COLOR color format: otherwise grayscale
548 if ((f & PNG_FORMAT_FLAG_COLOR) == 0 && in format_default()807 (PNG_FORMAT_FLAG_ALPHA|PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_LINEAR)1028 if (format & PNG_FORMAT_FLAG_COLOR) in get_pixel()1087 if (format & PNG_FORMAT_FLAG_COLOR) in get_pixel()1956 #if PNG_FORMAT_FLAG_ALPHA == 1 && PNG_FORMAT_FLAG_COLOR == 2 &&\2185 if (out_format & PNG_FORMAT_FLAG_COLOR) in transform_from_formats()2318 switch (format & (PNG_FORMAT_FLAG_ALPHA|PNG_FORMAT_FLAG_COLOR)) in print_pixel()2329 case PNG_FORMAT_FLAG_COLOR: in print_pixel()2334 case PNG_FORMAT_FLAG_COLOR|PNG_FORMAT_FLAG_ALPHA: in print_pixel()2543 if (format & PNG_FORMAT_FLAG_COLOR) in component_loc()[all …]