summaryrefslogtreecommitdiff
path: root/lodepng.cpp
AgeCommit message (Collapse)Author
2018-06-12allow larger amount of pixels, loosen the integer overflow checkHEADmasterLode
2018-05-22max 5552 instead of 5550 sums before adler32 overflowLode
2018-03-26when decoding with palette output type but not specifying actual palette ↵Lode
(implying the desire to keep the original), it could change indices if there were duplicate colors in the palette. The workaround was to set color_convert = 0. Still, even with color_convert, there is no reason to do that, so this fixes it
2018-02-20fix issue after mergeLode
2018-02-20Merge pull request #51 from jobtalle/masterLode Vandevenne
Resolved issue #24
2018-01-15allow optionally ignoring a few more recoverable errorsLode
2017-10-10Merge pull request #52 from JayXon/error_codeLode Vandevenne
Fix wrong error code if huffmanDecodeSymbol fail
2017-09-17fix encoder memory leak for some input error casesLode
2017-03-20Fix wrong error code if huffmanDecodeSymbol failJayXon
The return value of huffmanDecodeSymbol is stored in code_d not code_ll, code_ll is between 257 and 285 here.
2017-03-18Fixed formattingjobtalle
2017-03-18Fixed 64bit warnings produced by MSVC, issue #24jobtalle
2016-11-28grey+alpha auto color model detection bugfixLode
2016-05-03fix relying on integer underflowLode
2016-05-01fix encoding PNGs of large dimensionsLode
2016-04-23fix warning about uninitialized outsizeLode
2016-04-21Update lodepng.cppLode Vandevenne
2016-04-18replace qsort with custom sort for compatibility with some platformsLode
2016-04-11fix coding errorLode Vandevenne
2016-04-11a fex fixesLode Vandevenne
2016-04-09color key and file handlingLode
2016-01-25code tweaksLode
2016-01-24update version numberLode
2016-01-24various updatesLode
2016-01-22Fixed crash on uncompressed PNG files.JeckDev
When writing an uncompressed PNG, deflateDynamic erroneously indexed a newly allocated block of datasize length using the datapos offset. This would crash anytime datapos > 0.
2016-01-18various fixesLode
2015-12-09Merge branch 'master' of https://github.com/lvandeve/lodepngLode
2015-12-09Made load_file function return error if file can't be openedLode
2015-11-02fix typoLode Vandevenne
2015-10-24output palette fixLode
2015-10-24fix typosBen Wiederhake
Credits go to the authors of 'codespell'.
2015-09-12Merge branch 'master' of https://github.com/lvandeve/lodepngLode
2015-09-12add LODEPNG_NO_COMPILE_CRC compile optionLode
2015-08-01encode() now returns error code if save_file() cannot open output file.Don Cross
Before this change, encode() would return 0 whether or not the output file was created. There was no way for a caller to know when the file could not be created (e.g. due to a non-existent parent directory). Changed save_file() to return error 79 if it cannot open output file. encode() checks return code from save_file() and passes any error value back to the caller.
2015-04-19small optimizationLode
2015-04-19boundary package mergeLode
2015-03-21make all comments C-styleLode
2015-02-16minor fixesLode
2014-12-01tiny tweaksLode
2014-12-01Merge branch 'ansi_c_only' of https://github.com/slowriot/lodepng into ↵Lode
slowriot-ansi_c_only
2014-12-01move VERSION_STRING to header as LODEPNG_VERSION_STRINGLode
2014-11-28Removing all C99 version define switches and the associated C99 functionalitySlowRiot
2014-11-28Merge https://github.com/lvandeve/lodepngSlowRiot
# By Lode # Via Lode * https://github.com/lvandeve/lodepng: various fixes Conflicts: lodepng.cpp
2014-11-28ensuring ANSI C compatibility by using ifdefs where appropriateSlowRiot
2014-11-27various fixesLode
2014-11-27more != comparisons instead of < against unsigned types for loops starting ↵SlowRiot
with 0
2014-11-27fixing preincrement bug introduced previouslySlowRiot
2014-11-27Merge branch 'master' of https://github.com/lvandeve/lodepngSlowRiot
# By Lode (10) and others # Via Lode * 'master' of https://github.com/lvandeve/lodepng: fix for C fix examples better bitpointer checks small tweaks Update lodepng.h Update lodepng.cpp avoid too big pixel sizes predict idat size correctly for interlaced images unit test was a bit slow like that fix bug with encoding transparent single-pixel image protect against invalid chunk lengths in some tools fix pngdetail.cpp collapsing duplicate branch do not check unsigned windowsize for < 0 Conflicts: lodepng.cpp
2014-11-21fix for CLode
2014-11-20better bitpointer checksLode
2014-11-20small tweaksLode