mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-02-09 16:28:45 +01:00
* 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
26 KiB
512x384px
26 KiB
512x384px
![](/SuperSeriousBusiness/GoToSocial/raw/commit/da4db81bcf1a66d0de559015e061e602d8f2fcb8/testrig/media/team-fortress-small.jpeg)