From a71964ed5fe4f82a32ac7f8201338900f66e855d Mon Sep 17 00:00:00 2001 From: Lode Date: Tue, 12 Jul 2016 23:12:22 +0200 Subject: add a todo --- lodepng.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lodepng.h b/lodepng.h index 94e8195..fcf9f71 100644 --- a/lodepng.h +++ b/lodepng.h @@ -896,6 +896,7 @@ TODO: [X] let the "isFullyOpaque" function check color keys and transparent palettes too [X] better name for the variables "codes", "codesD", "codelengthcodes", "clcl" and "lldl" [ ] don't stop decoding on errors like 69, 57, 58 (make warnings) +[ ] make warnings like: oob palette, checksum fail, data after iend, wrong/unknown crit chunk, no null terminator in text, ... [ ] let the C++ wrapper catch exceptions coming from the standard library and return LodePNG error codes [ ] allow user to provide custom color conversion functions, e.g. for premultiplied alpha, padding bits or not, ... [ ] allow user to give data (void*) to custom allocator -- cgit v1.2.3