From 942c151c7b92dc727fc2d0a00211e9fa83ef6e83 Mon Sep 17 00:00:00 2001 From: Lode Date: Sat, 24 Oct 2015 23:49:28 +0200 Subject: output palette fix --- lodepng.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lodepng.h') diff --git a/lodepng.h b/lodepng.h index 86e56a3..86c24f9 100644 --- a/lodepng.h +++ b/lodepng.h @@ -1,5 +1,5 @@ /* -LodePNG version 20150912 +LodePNG version 20151024 Copyright (c) 2005-2015 Lode Vandevenne @@ -508,7 +508,7 @@ For 16-bit per channel colors, uses big endian format like PNG does. Return value is LodePNG error code */ unsigned lodepng_convert(unsigned char* out, const unsigned char* in, - LodePNGColorMode* mode_out, const LodePNGColorMode* mode_in, + const LodePNGColorMode* mode_out, const LodePNGColorMode* mode_in, unsigned w, unsigned h); #ifdef LODEPNG_COMPILE_DECODER @@ -1564,6 +1564,7 @@ yyyymmdd. Some changes aren't backwards compatible. Those are indicated with a (!) symbol. +*) 24 okt 2015: Bugfix with decoding to palette output. *) 18 apr 2015: Boundary PM instead of just package-merge for faster encoding. *) 23 aug 2014: Reduced needless memory usage of decoder. *) 28 jun 2014: Removed fix_png setting, always support palette OOB for -- cgit v1.2.3