summaryrefslogtreecommitdiff
path: root/internal/media/test
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-04-25 14:45:44 +0200
committerLibravatar GitHub <noreply@github.com>2022-04-25 14:45:44 +0200
commiteeb78bd141ea69a59c4361fac2cfe6fc36df59b3 (patch)
treea79204ae9a98151791e06f94060f95cd2f61c6d9 /internal/media/test
parent[chore] Add two new test images for media processing (#424) (diff)
downloadgotosocial-eeb78bd141ea69a59c4361fac2cfe6fc36df59b3.tar.xz
[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
Diffstat (limited to 'internal/media/test')
-rw-r--r--internal/media/test/test-png-alphachannel-processed.pngbin0 -> 18904 bytes
-rw-r--r--internal/media/test/test-png-alphachannel-thumbnail.jpgbin0 -> 6446 bytes
-rw-r--r--internal/media/test/test-png-noalphachannel-processed.pngbin0 -> 17471 bytes
-rw-r--r--internal/media/test/test-png-noalphachannel-thumbnail.jpgbin0 -> 6446 bytes
4 files changed, 0 insertions, 0 deletions
diff --git a/internal/media/test/test-png-alphachannel-processed.png b/internal/media/test/test-png-alphachannel-processed.png
new file mode 100644
index 000000000..d3b67e66d
--- /dev/null
+++ b/internal/media/test/test-png-alphachannel-processed.png
Binary files differ
diff --git a/internal/media/test/test-png-alphachannel-thumbnail.jpg b/internal/media/test/test-png-alphachannel-thumbnail.jpg
new file mode 100644
index 000000000..ca62f4ea6
--- /dev/null
+++ b/internal/media/test/test-png-alphachannel-thumbnail.jpg
Binary files differ
diff --git a/internal/media/test/test-png-noalphachannel-processed.png b/internal/media/test/test-png-noalphachannel-processed.png
new file mode 100644
index 000000000..46bec9097
--- /dev/null
+++ b/internal/media/test/test-png-noalphachannel-processed.png
Binary files differ
diff --git a/internal/media/test/test-png-noalphachannel-thumbnail.jpg b/internal/media/test/test-png-noalphachannel-thumbnail.jpg
new file mode 100644
index 000000000..ca62f4ea6
--- /dev/null
+++ b/internal/media/test/test-png-noalphachannel-thumbnail.jpg
Binary files differ