gotosocial/testrig/media
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
..
beeplushie.jpg
cowlick-original.mp4
cowlick-small.webp
ghosts-original.mp3
ghosts-small.webp
giant-turnip-world-record.jpg
kip-original.gif
kip-static.png
ohyou-original.jpg
ohyou-small.jpeg
peglin-static.png
peglin.gif
rainbow-original.png
rainbow-static.png
sloth-original.jpg
sloth-small.jpeg
team-fortress-original.jpg
team-fortress-small.jpeg
test-jpeg.jpg
thoughtsofdog-original.jpg
thoughtsofdog-small.jpeg
trent-original.gif
trent-small.jpeg
welcome-original.jpg
welcome-small.jpeg
yell-original.png
yell-static.png
zork-original.jpg
zork-small.jpeg