v0.6.2
New
- The CRC action
SPNG_CRC_DISCARD
is now supported
Bugfixes
- Fixed handling of
SPNG_CTX_IGNORE_ADLER32
- Introduced a workaround for a miniz bug that can lead to an infinite loop - #150
- Fixed
spng_get_text/splt()
not reading chunks before settingn_text
/n_splt
Changes
- Dropped use of
fmin()
for DJGPP compatibility - Dropped use of
#warning
in favor of#pragma message
spng_get_<chunk>()
functions will read chunks before checking all arguments
Changes to the default behavior were made for libpng compatibility:
- Changed the default CRC action for ancillary chunks from
SPNG_CRC_ERROR
toSPNG_CRC_DISCARD
- Setting
SPNG_CRC_USE
now also ignores checksums in DEFLATE streams - Ancillary chunks with zlib data errors are discarded by default
- Ignore sBIT chunk length for truecolor alpha images - #130
- Ignore bKGD chunk length for truecolor (alpha) images - #156
Known issues
- Non-critical errors may still cause an image to not load - #132