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
..
big-panda.gif
birdnest-original.mp4
birdnest-processed.mp4
birdnest-thumbnail.webp [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
Frantz-Fanon-The-Wretched-of-the-Earth-1965.pdf
gts_pixellated-original.png
gts_pixellated-static.png
longer-mp4-original.mp4
longer-mp4-processed.mp4
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
nb-flag-static.png
not-an-processed.mp4
not-an-thumbnail.webp
not-an.mp4
rainbow-original.png
rainbow-static.png
test-jpeg-1x1px-white-thumbnail.webp
test-jpeg-1x1px-white.jpg
test-jpeg-processed.jpg
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
test-mp4-original.mp4
test-mp4-processed.mp4
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
test-opus-processed.opus
test-png-alphachannel-1x1px.png
test-png-alphachannel-processed.png
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
test-png-noalphachannel-processed.png
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