Searched refs:palette_ok (Results 1 – 1 of 1) sorted by relevance
3810 int palette_ok = !no_palette && n <= 256 && (n * 2 < w * h); in lodepng_auto_choose_color() local3813 if(palette_ok || grey_ok) in lodepng_auto_choose_color()3815 if(!palette_ok || (grey_ok && profile.greybits <= palettebits)) in lodepng_auto_choose_color()