Say how a picture is changed to fit the server (#359) #391
No reviewers
Labels
No labels
area/ci
area/desktop
area/packaging
area/protocol
area/reading
area/ui
area/web
area/writing
kind/bug
kind/feature
kind/infra
kind/request
needs/user
parked
perf
security
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
littlefox/neokom!391
Loading…
Reference in a new issue
No description provided.
Delete branch "issue-359-say-changes"
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?
Closes #359
Per the user's comment on #359 (D-072): instead of chasing the black square, say how a picture is changed to fit a lyskomd text. The composer, the chat's reply field and the profile editor list, under the picture: the original's size against the limit, pixels before and after, format and JPEG quality, transparent parts turned white, and a lost animation. A picture that goes as it is says nothing.
Verified: unit tests for GIF frame counting and APNG/WebP animation; e2e
gif.spec(new test with a half-transparent 2000 px PNG, plus the too-big GIF's list), compose, profile and thread-chat specs, 51/51 in desktop, Android and iPhone profiles; lint three ways.🤖 Generated with Claude Code
https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8