v0.6.2
New
- The CRC action
SPNG_CRC_DISCARDis 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
#warningin 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_ERRORtoSPNG_CRC_DISCARD - Setting
SPNG_CRC_USEnow 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