mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2024-12-15 02:10:05 +01:00
f77005128a
* 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 |
||
---|---|---|
.. | ||
big-panda.gif | ||
birdnest-original.mp4 | ||
birdnest-processed.mp4 | ||
birdnest-thumbnail.webp | ||
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 | ||
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 | ||
test-jpeg.jpg | ||
test-mp4-original.mp4 | ||
test-mp4-processed.mp4 | ||
test-mp4-thumbnail.webp | ||
test-opus-original.opus | ||
test-opus-processed.opus | ||
test-png-alphachannel-1x1px.png | ||
test-png-alphachannel-processed.png | ||
test-png-alphachannel-thumbnail.jpeg | ||
test-png-alphachannel.png | ||
test-png-noalphachannel-processed.png | ||
test-png-noalphachannel-thumbnail.jpeg | ||
test-png-noalphachannel.png |