[Ohrrpgce] SVN: teeemcee/9924 Import sources for LodePNG, a small but complete PNG encoder+decoder lib

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Mon Jan 1 06:54:42 PST 2018


teeemcee
2018-01-01 06:54:42 -0800 (Mon, 01 Jan 2018)
607
Import sources for LodePNG, a small but complete PNG encoder+decoder library

Copyright (c) 2005-2017 Lode Vandevenne, licensed under the zlib license.
>From https://github.com/lvandeve/lodepng commit c7bb19ad54a5

I say small, compared to libpng, but this is still really large compared to
ujpeg because PNG is complex and it includes encoding. It adds 90kB to the x86
binaries.

Can be compiled as either C or C++, going with C to slightly reduce the size.
this has lots of flags to allow, e.g., using zlib instead of its own DEFLATE
implementation, which could reduce the effective size further in future.
---
A   wip/lib/lodepng.c
A   wip/lib/lodepng.h


More information about the Ohrrpgce mailing list