gotosocial/internal/api/client
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
..
accounts [feature] Allow import of following and blocks via CSV (#3150) 2024-08-02 12:41:46 +01:00
admin [bugfix] fix emoji recaching operations (#3167) 2024-08-03 19:05:38 +02:00
apps
blocks
bookmarks
conversations [feature] Conversations API (#3013) 2024-07-23 20:44:31 +01:00
customemojis
exports [feature] Allow users to export data via the settings panel (#3140) 2024-07-31 15:03:34 +01:00
favourites
featuredtags [feature] Implement following hashtags (#3141) 2024-07-29 19:26:31 +01:00
filters [chore] media pipeline improvements (#3110) 2024-07-17 15:26:33 +00:00
followedtags [feature] Implement following hashtags (#3141) 2024-07-29 19:26:31 +01:00
followrequests [chore/frontend] Use smaller webp images for logo and default avatars (#3119) 2024-07-20 14:02:22 +01:00
import [feature] Allow import of following and blocks via CSV (#3150) 2024-08-02 12:41:46 +01:00
instance [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
interactionpolicies
lists [feature] Allow import of following and blocks via CSV (#3150) 2024-08-02 12:41:46 +01:00
markers
media [performance] move thumbnail generation to go code where possible (#3183) 2024-08-08 17:12:13 +00:00
mutes [chore/frontend] Use smaller webp images for logo and default avatars (#3119) 2024-07-20 14:02:22 +01:00
notifications
polls [feature] Allow import of following and blocks via CSV (#3150) 2024-08-02 12:41:46 +01:00
preferences
reports [chore/frontend] Use smaller webp images for logo and default avatars (#3119) 2024-07-20 14:02:22 +01:00
search
statuses [feature] Implement Mastodon-compatible roles (#3136) 2024-07-31 09:26:09 -07:00
streaming [bugfix] send back Sec-Websocket-Protocol header for streaming WebSocket (#3169) 2024-08-06 11:52:27 +02:00
tags [feature] Implement following hashtags (#3141) 2024-07-29 19:26:31 +01:00
timelines
user