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 rework media processing a little bit (#191) 2021-09-04 14:02:01 +02:00
cowlick-original.mp4 [feature] For video attachments, store + return fps, bitrate, duration (#1282) 2022-12-22 11:48:28 +01:00
cowlick-small.webp [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
ghosts-original.mp3 [feature/frontend] Add player for audio files; use thumbnail for `poster` (#3099) 2024-07-15 10:47:57 +01:00
ghosts-small.webp [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
giant-turnip-world-record.jpg [bugfix] Fix images not being processed correctly sometimes (#437) 2022-03-21 19:46:51 +01:00
kip-original.gif [feature] Show + federate emojis in accounts (#837) 2022-09-26 11:56:01 +02:00
kip-static.png [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
ohyou-original.jpg [performance] media processing improvements (#1288) 2023-01-11 12:13:13 +01:00
ohyou-small.jpeg [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
peglin-static.png [feature] use webp for thumbnails (#3116) 2024-07-19 17:28:43 +02:00
peglin.gif [feature] Fetch + display custom emoji in statuses from remote instances (#807) 2022-09-12 13:03:23 +02:00
rainbow-original.png Api/v1/statuses (#11) 2021-04-19 19:42:19 +02:00
rainbow-static.png [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
sloth-original.jpg [feature] Media attachment placeholders (#2331) 2023-11-10 19:29:26 +01:00
sloth-small.jpeg [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
team-fortress-original.jpg [performance] media processing improvements (#1288) 2023-01-11 12:13:13 +01:00
team-fortress-small.jpeg [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
test-jpeg.jpg Ap (#14) 2021-05-08 14:25:55 +02:00
thoughtsofdog-original.jpg [performance] media processing improvements (#1288) 2023-01-11 12:13:13 +01:00
thoughtsofdog-small.jpeg [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
trent-original.gif Api/v1/statuses (#11) 2021-04-19 19:42:19 +02:00
trent-small.jpeg [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
welcome-original.jpg [performance] media processing improvements (#1288) 2023-01-11 12:13:13 +01:00
welcome-small.jpeg [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
yell-original.png [feature] Show + federate emojis in accounts (#837) 2022-09-26 11:56:01 +02:00
yell-static.png [feature] support processing of (many) more media types (#3090) 2024-07-12 09:39:47 +00:00
zork-original.jpg [performance] media processing improvements (#1288) 2023-01-11 12:13:13 +01:00
zork-small.jpeg [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00