Re: libspng: a modern libpng alternative

Ruben Safir <ruben-v1XHP5QhJixWk0Htik3J/[email protected]> Wed, 12 Sep 2018 10:11:37 -0400
Newsgroups gmane.comp.graphics.png.devel
Message-ID <[email protected]>
On 9/12/18 9:58 AM, Randy via png-mng-implement wrote:
> libspng(https://libspng.org) is a C library for reading and writing
> Portable Network Graphics (PNG) format files with a focus on security
> and ease of use.
> 
> It is written from scratch in C99 as an alternative to libpng, it does
> not share
> any code. It is faster at decoding than libpng when compiled with
> profile-guided optimizations.
> 
> Currently in alpha, it can decode any PNG image to 8/16-bit RGBA, it
> supports
> gamma correction and the equivalent of png_set_tRNS_to_alpha(). Encoding and
> "PNG editor" support is planned.


the majority of PNG decoding involves decompression.  That has been
broken before, FWIW.  I would be very weary.

-- 
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002

http://www.nylxs.com - Leadership Development in Free Software
http://www.brooklyn-living.com

Being so tracked is for FARM ANIMALS and and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013