mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-06 09:13:16 -06:00
[bugfix] Allow processing of .png files where checksum is not correct (#487)
* add png stripping code from google/wuffs * experiment with stripping data from pngs * add test images * use StrippedPngDecode for pngs * add StrippedPngDecode func * update tests for (no)alphachannel pngs * nolint on copied function
This commit is contained in:
parent
d5fe729cf4
commit
eeb78bd141
8 changed files with 352 additions and 3 deletions
BIN
internal/media/test/test-png-noalphachannel-processed.png
Normal file
BIN
internal/media/test/test-png-noalphachannel-processed.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
Loading…
Add table
Add a link
Reference in a new issue