Resize avatars before sending to Discord #76
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
cadence/out-of-your-element#76
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
cropIn
cropmode there are not many common usages at large enough sizes needed for Discord on a 2x pixel density display. Forscalemode a common size (the third most common, in fact) is >=240x240, which is sufficient. This also works well with Synapse's defaultthumbnail_sizesconfiguration. So I willscaleprofile pictures to >=240x240 for Discord.JK, have to do it client side because server side is too slow.
Done in
aecfde54c8