Skip to content

v0.6.2

Compare
Choose a tag to compare
@randy408 randy408 released this 28 Jan 21:42
· 197 commits to master since this release
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 setting n_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 to SPNG_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