gotosocial/internal/processing
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
..
account
admin
advancedmigrations
common
conversations
fedi
filters [chore] media pipeline improvements (#3110) 2024-07-17 15:26:33 +00:00
list
markers
media [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
polls
report [feature/frontend] Reports frontend v2 (#3022) 2024-06-18 18:18:00 +02:00
search
status [chore] move PopulateAccountStats() nil check often performed into function itself (#3158) 2024-08-02 13:15:11 +01:00
stream
tags
timeline
user
workers
app.go
followrequest_test.go [performance] massively improved ActivityPub delivery worker efficiency (#2812) 2024-04-11 11:45:35 +02:00
instance.go
oauth.go
parsemention.go
parsemention_test.go
preferences.go
preferences_test.go [feature] Implement the preferences client API (#1740) 2023-05-06 17:42:58 +02:00
processor.go
processor_test.go