From 1507ce1995a7ee7ec37a92556f5d4ab789fb8c9d Mon Sep 17 00:00:00 2001 From: Amir Gonnen Date: Sun, 8 Dec 2019 00:38:19 +0200 Subject: Remove lodepng_auto_choose_color prototype --- lodepng.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lodepng.h b/lodepng.h index 34e40e1..1a473e7 100644 --- a/lodepng.h +++ b/lodepng.h @@ -697,17 +697,6 @@ void lodepng_color_stats_init(LodePNGColorStats* stats); void lodepng_compute_color_stats(LodePNGColorStats* stats, const unsigned char* image, unsigned w, unsigned h, const LodePNGColorMode* mode_in); -/*Computes a minimal PNG color model that can contain all colors as indicated by the stats and it settings. -The stats should be computed with lodepng_compute_color_stats. -mode_in is raw color profile of the image the stats were computed on, to copy palette order from when relevant. -Minimal PNG color model means the color type and bit depth that gives smallest amount of bits in the output image, -e.g. gray if only grayscale pixels, palette if less than 256 colors, color key if only single transparent color, ... -LodePNG uses this function internally if auto_convert is enabled (it is by default). -*/ -unsigned lodepng_auto_choose_color(LodePNGColorMode* mode_out, - const LodePNGColorMode* mode_in, - const LodePNGColorMode* stats); - /*Settings for the encoder.*/ typedef struct LodePNGEncoderSettings { LodePNGCompressSettings zlibsettings; /*settings for the zlib encoder, such as window size, ...*/ -- cgit v1.2.3