diff options
author | Amir Gonnen <amirgonnen@gmail.com> | 2019-12-08 01:38:19 +0300 |
---|---|---|
committer | Amir Gonnen <amirgonnen@gmail.com> | 2019-12-08 01:38:19 +0300 |
commit | 1507ce1995a7ee7ec37a92556f5d4ab789fb8c9d (patch) | |
tree | 4a0351fa9fb0aebc36f1591b6bbba7121e86ba21 | |
parent | dc3f19b5aeaa26ff94f48f52a1c7cb5b1ef4ed3c (diff) |
Remove lodepng_auto_choose_color prototype
-rw-r--r-- | lodepng.h | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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, ...*/ |