Searched refs:LCT_GREY_ALPHA (Results 1 – 3 of 3) sorted by relevance
2614 return info->colortype == LCT_GREY || info->colortype == LCT_GREY_ALPHA; in lodepng_is_greyscale_type()3020 else if(mode->colortype == LCT_GREY_ALPHA) in rgba8ToPixel()3076 else if(mode->colortype == LCT_GREY_ALPHA) in rgba16ToPixel()3174 else if(mode->colortype == LCT_GREY_ALPHA) in getPixelColorRGBA8()3302 else if(mode->colortype == LCT_GREY_ALPHA) in getPixelColorsRGBA8()3371 else if(mode->colortype == LCT_GREY_ALPHA) in getPixelColorRGBA16()3769 if(mode_out->colortype != LCT_RGBA && mode_out->colortype != LCT_GREY_ALPHA) return 0; in lodepng_auto_choose_color()3798 mode_out->colortype = profile.colored ? LCT_RGBA : LCT_GREY_ALPHA; in lodepng_auto_choose_color()3844 mode_out->colortype = profile.colored ? LCT_RGBA : LCT_GREY_ALPHA; in lodepng_auto_choose_color()4324 else if(info->color.colortype == LCT_GREY || info->color.colortype == LCT_GREY_ALPHA) in readChunk_bKGD()[all …]
92 LCT_GREY_ALPHA = 4, /*greyscale with alpha: 8,16 bit*/ enumerator
259 if (grey) state.info_png.color.colortype = LCT_GREY_ALPHA; in TryOptimize()