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 <lvandeve@gmail.com>2018-09-17 01:36:50 +0300
committerLode <lvandeve@gmail.com>2018-09-17 01:36:50 +0300
commitae03c0dc9fa027a5a68717d816f43429b74796cd (patch)
treec5b6a85cbd88076239a172567c6e8216ba5910af /lodepng.h
parent45dbadb459cb514da0b50d3f02399bf90b44d717 (diff)
add PNG cHRM/gAMA color profile RGB/XYZ conversion utility in utils
Diffstat (limited to 'lodepng.h')
-rw-r--r--lodepng.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lodepng.h b/lodepng.h
index 11fe3b7..2780e09 100644
--- a/lodepng.h
+++ b/lodepng.h
@@ -360,6 +360,8 @@ void lodepng_color_mode_init(LodePNGColorMode* info);
void lodepng_color_mode_cleanup(LodePNGColorMode* info);
/*return value is error code (0 means no error)*/
unsigned lodepng_color_mode_copy(LodePNGColorMode* dest, const LodePNGColorMode* source);
+/* Makes a temporary LodePNGColorMode that does not need cleanup (no palette) */
+LodePNGColorMode lodepng_color_mode_make(LodePNGColorType colortype, unsigned bitdepth);
void lodepng_palette_clear(LodePNGColorMode* info);
/*add 1 color to the palette*/