gotosocial/internal/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
..
ffmpeg update go-ffmpreg to v0.2.3 (#3120) 2024-07-20 14:14:58 +01:00
test [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
ffmpeg.go [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
manager_test.go [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
manager.go [bugfix] fix emoji recaching operations (#3167) 2024-08-03 19:05:38 +02:00
media_test.go [feature] Add experimental instance-federation-spam-filter option (#2685) 2024-02-27 12:22:05 +00:00
metadata.go [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
processingemoji.go [bugfix] moves file rename to earlier in media pipeline so ffmpeg calls ALWAYS have extension (#3146) 2024-07-28 10:31:49 +02:00
processingmedia.go [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
refetch_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
refetch.go [bugfix] fix emoji recaching operations (#3167) 2024-08-03 19:05:38 +02:00
thumbnail.go [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
types.go [feature] more filetype support! (#3107) 2024-07-15 15:24:53 +01:00
util.go [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00