Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lvandeve/lodepng.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLode Vandevenne <lvandeve@users.noreply.github.com>2019-12-08 18:29:31 +0300
committerGitHub <noreply@github.com>2019-12-08 18:29:31 +0300
commitf78cffe5e149b84a1e390dbd46c6c1b008c7e76f (patch)
tree4a0351fa9fb0aebc36f1591b6bbba7121e86ba21
parentdc3f19b5aeaa26ff94f48f52a1c7cb5b1ef4ed3c (diff)
parent1507ce1995a7ee7ec37a92556f5d4ab789fb8c9d (diff)
Merge pull request #121 from amirgon/master
Remove lodepng_auto_choose_color prototype
-rw-r--r--lodepng.h11
1 files changed, 0 insertions, 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, ...*/