mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-18 15:11:47 +03: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 |
||
---|---|---|
.. | ||
ffmpeg | ||
test | ||
ffmpeg.go | ||
manager.go | ||
manager_test.go | ||
media_test.go | ||
metadata.go | ||
processingemoji.go | ||
processingmedia.go | ||
refetch.go | ||
refetch_test.go | ||
thumbnail.go | ||
types.go | ||
util.go |