mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 00:22:57 -05:00
A filter_type naming a subset of the PNG filters used only the first filter of the mask, because stb's writer is either fully adaptive or forced to one filter. Decoder::Png::Encode now takes the set of allowed filter types, filters the rows and writes the chunks itself, and keeps stb for deflate only. Output for the all-filters and single-filter cases is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>