GoToSocial/internal/media/test
kim f77005128a
[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
2024-08-08 17:12:13 +00:00
..
Frantz-Fanon-The-Wretched-of-the-Earth-1965.pdf [feature] Media attachment placeholders (#2331) 2023-11-10 19:29:26 +01:00
big-panda.gif [bugfix] Wrap media reader in length reader to determine length if no `content-length` given (#848) 2022-09-24 11:11:47 +02:00
birdnest-original.mp4 [bugfix] Parse video metadata more accurately; allow Range in fileserver (#1342) 2023-01-16 16:19:17 +01:00
birdnest-processed.mp4 [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
birdnest-thumbnail.webp [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
gts_pixellated-original.png [feature] Refetch emojis when they change on remote instances (#905) 2022-10-13 15:16:24 +02:00
gts_pixellated-static.png [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
longer-mp4-original.mp4 [feature] For video attachments, store + return fps, bitrate, duration (#1282) 2022-12-22 11:48:28 +01:00
longer-mp4-processed.mp4 [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
longer-mp4-thumbnail.webp [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
nb-flag-original.webp [feature] Allow webp emoji uploads / derefs (#2484) 2024-01-05 13:39:53 +01:00
nb-flag-static.png [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
not-an-processed.mp4 [feature] use webp for thumbnails (#3116) 2024-07-19 17:28:43 +02:00
not-an-thumbnail.webp [feature] use webp for thumbnails (#3116) 2024-07-19 17:28:43 +02:00
not-an.mp4 [feature] For video attachments, store + return fps, bitrate, duration (#1282) 2022-12-22 11:48:28 +01:00
rainbow-original.png Api/v1/statuses (#11) 2021-04-19 19:42:19 +02:00
rainbow-static.png [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
test-jpeg-1x1px-white-thumbnail.webp [feature] use webp for thumbnails (#3116) 2024-07-19 17:28:43 +02:00
test-jpeg-1x1px-white.jpg [bugfix] allow store smaller PNG image than 261 bytes (#2263) (#2298) 2023-10-25 14:58:45 +02:00
test-jpeg-processed.jpg update media processing (#244) 2021-09-23 11:13:11 +02:00
test-jpeg-thumbnail.jpeg [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
test-jpeg.jpg Api/v1/accounts (#8) 2021-04-01 20:46:45 +02:00
test-mp4-original.mp4 [feature] Enable basic video support (mp4 only) (#1274) 2022-12-17 04:38:56 +00:00
test-mp4-processed.mp4 [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
test-mp4-thumbnail.webp [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
test-opus-original.opus [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
test-opus-processed.opus [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
test-png-alphachannel-1x1px.png [bugfix] allow store smaller PNG image than 261 bytes (#2263) (#2298) 2023-10-25 14:58:45 +02:00
test-png-alphachannel-processed.png [chore] add back exif-terminator and use only for jpeg,png,webp (#3161) 2024-08-02 12:46:41 +01:00
test-png-alphachannel-thumbnail.jpeg [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
test-png-alphachannel.png [chore] Add two new test images for media processing (#424) 2022-04-24 14:49:37 +02:00
test-png-noalphachannel-processed.png [bugfix] Allow processing of .png files where checksum is not correct (#487) 2022-04-25 14:45:44 +02:00
test-png-noalphachannel-thumbnail.jpeg [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
test-png-noalphachannel.png [chore] Add two new test images for media processing (#424) 2022-04-24 14:49:37 +02:00