summaryrefslogtreecommitdiff
path: root/testrig/media
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2024-08-08 17:12:13 +0000
committerLibravatar GitHub <noreply@github.com>2024-08-08 17:12:13 +0000
commitf77005128a391025c16fb65c47a4272ac003cbf1 (patch)
treeba73e2b475e3c567d47abee1bccca5a99184c02d /testrig/media
parent[feature] Add `db-postgres-connection-string` option (#3178) (diff)
downloadgotosocial-f77005128a391025c16fb65c47a4272ac003cbf1.tar.xz
[performance] move thumbnail generation to go code where possible (#3183)
* wrap thumbnailing code to handle generation natively where possible * more code comments! * add even more code comments! * add code comments about blurhash generation * maintain image rotation if contained in exif data * move rotation before resizing * ensure pix_fmt actually selected by ffprobe, check for alpha layer with gifs * use linear instead of nearest-neighbour for resizing * work with image "orientation" instead of "rotation". use default 75% quality for both webp and jpeg generation * add header to new file * use thumb extension when getting thumb mime type * update test models and tests with new media processing * add suggested code comments * add note about thumbnail filter count reducing memory usage
Diffstat (limited to 'testrig/media')
-rw-r--r--testrig/media/cowlick-small.webpbin5446 -> 11570 bytes
-rw-r--r--testrig/media/ghosts-small.webpbin4652 -> 11624 bytes
-rw-r--r--testrig/media/ohyou-small.jpegbin0 -> 14665 bytes
-rw-r--r--testrig/media/ohyou-small.webpbin4930 -> 0 bytes
-rw-r--r--testrig/media/sloth-small.jpegbin0 -> 55966 bytes
-rw-r--r--testrig/media/sloth-small.webpbin42208 -> 0 bytes
-rw-r--r--testrig/media/team-fortress-small.jpegbin0 -> 26794 bytes
-rw-r--r--testrig/media/team-fortress-small.webpbin10200 -> 0 bytes
-rw-r--r--testrig/media/thoughtsofdog-small.jpegbin0 -> 20394 bytes
-rw-r--r--testrig/media/thoughtsofdog-small.webpbin9128 -> 0 bytes
-rw-r--r--testrig/media/trent-small.jpegbin0 -> 10270 bytes
-rw-r--r--testrig/media/trent-small.webpbin6336 -> 0 bytes
-rw-r--r--testrig/media/welcome-small.jpegbin0 -> 17605 bytes
-rw-r--r--testrig/media/welcome-small.webpbin5376 -> 0 bytes
-rw-r--r--testrig/media/zork-small.jpegbin0 -> 50381 bytes
-rw-r--r--testrig/media/zork-small.webpbin36188 -> 0 bytes
16 files changed, 0 insertions, 0 deletions
diff --git a/testrig/media/cowlick-small.webp b/testrig/media/cowlick-small.webp
index 726492371..e1fa06f53 100644
--- a/testrig/media/cowlick-small.webp
+++ b/testrig/media/cowlick-small.webp
Binary files differ
diff --git a/testrig/media/ghosts-small.webp b/testrig/media/ghosts-small.webp
index 791e9dd6d..075a6a809 100644
--- a/testrig/media/ghosts-small.webp
+++ b/testrig/media/ghosts-small.webp
Binary files differ
diff --git a/testrig/media/ohyou-small.jpeg b/testrig/media/ohyou-small.jpeg
new file mode 100644
index 000000000..c1b9fc3ab
--- /dev/null
+++ b/testrig/media/ohyou-small.jpeg
Binary files differ
diff --git a/testrig/media/ohyou-small.webp b/testrig/media/ohyou-small.webp
deleted file mode 100644
index b77955862..000000000
--- a/testrig/media/ohyou-small.webp
+++ /dev/null
Binary files differ
diff --git a/testrig/media/sloth-small.jpeg b/testrig/media/sloth-small.jpeg
new file mode 100644
index 000000000..cc686f47c
--- /dev/null
+++ b/testrig/media/sloth-small.jpeg
Binary files differ
diff --git a/testrig/media/sloth-small.webp b/testrig/media/sloth-small.webp
deleted file mode 100644
index 31e908b97..000000000
--- a/testrig/media/sloth-small.webp
+++ /dev/null
Binary files differ
diff --git a/testrig/media/team-fortress-small.jpeg b/testrig/media/team-fortress-small.jpeg
new file mode 100644
index 000000000..5b9b91e41
--- /dev/null
+++ b/testrig/media/team-fortress-small.jpeg
Binary files differ
diff --git a/testrig/media/team-fortress-small.webp b/testrig/media/team-fortress-small.webp
deleted file mode 100644
index 75446a4b1..000000000
--- a/testrig/media/team-fortress-small.webp
+++ /dev/null
Binary files differ
diff --git a/testrig/media/thoughtsofdog-small.jpeg b/testrig/media/thoughtsofdog-small.jpeg
new file mode 100644
index 000000000..911565a71
--- /dev/null
+++ b/testrig/media/thoughtsofdog-small.jpeg
Binary files differ
diff --git a/testrig/media/thoughtsofdog-small.webp b/testrig/media/thoughtsofdog-small.webp
deleted file mode 100644
index e5fe1358e..000000000
--- a/testrig/media/thoughtsofdog-small.webp
+++ /dev/null
Binary files differ
diff --git a/testrig/media/trent-small.jpeg b/testrig/media/trent-small.jpeg
new file mode 100644
index 000000000..573dfc794
--- /dev/null
+++ b/testrig/media/trent-small.jpeg
Binary files differ
diff --git a/testrig/media/trent-small.webp b/testrig/media/trent-small.webp
deleted file mode 100644
index abdbecce0..000000000
--- a/testrig/media/trent-small.webp
+++ /dev/null
Binary files differ
diff --git a/testrig/media/welcome-small.jpeg b/testrig/media/welcome-small.jpeg
new file mode 100644
index 000000000..430fdf75f
--- /dev/null
+++ b/testrig/media/welcome-small.jpeg
Binary files differ
diff --git a/testrig/media/welcome-small.webp b/testrig/media/welcome-small.webp
deleted file mode 100644
index 09e5bfe34..000000000
--- a/testrig/media/welcome-small.webp
+++ /dev/null
Binary files differ
diff --git a/testrig/media/zork-small.jpeg b/testrig/media/zork-small.jpeg
new file mode 100644
index 000000000..fcf416f02
--- /dev/null
+++ b/testrig/media/zork-small.jpeg
Binary files differ
diff --git a/testrig/media/zork-small.webp b/testrig/media/zork-small.webp
deleted file mode 100644
index 8539b2418..000000000
--- a/testrig/media/zork-small.webp
+++ /dev/null
Binary files differ