Results 64 comments of Randy

It's probably filtering that's slower. Filtering and the process for finding the best filter is the same for both libraries, but the code for spng doesn't optimize as well. At...

Indeed, `SPNG_EOI` is returned for the last row, it's meant to signal that no offsets should be calculated for the next row. This is unlikely to change at this point,...

Dolphin emulator has switched from libpng: https://github.com/dolphin-emu/dolphin/pull/10889

https://github.com/randy408/libspng/commit/3d94f116097a82bd41c60baa333e56b69c282ad6 deprecates `SPNG_DECODE_USE_*` flags.

`struct spng_bkgd.plte_index` is an `uint16_t`, it should be `uint8_t`.

Consider combining `spng_ctx_new()` and `spng_ctx_new2()` and changing the return value to `int`.

Consider renaming `spng_set_png_buffer/stream()` to something like `spng_set_src_buffer/stream()` to allow for more consistent function names once encode support is added, functions for setting the output buffer/stream for the encoder would be...

New types could be introduced as typedefs to `spng_ctx`: * `spng_dec` - decoder * `spng_enc` - encoder To simplify the API and make things clearer: * `spng_set_*()` functions would be...

`spng_get_text()` and `spng_get_splt()` should use regular int pointers for array counts and check for `INT32_MAX` instead of checking for unsigned overflow when adding a new entry to its internal list,...

Progressive encode/decode functions should probably not return `SPNG_EOI` on the last row (#205).