Post images (like jskom) #33
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#33
Loading…
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?
jskom (textform.html, imageService.resizeImage) lets you pick an image (camera on phones), scales it down in a canvas to JPEG at 0.85 quality, and posts it as a text with content-type
image/jpeg. NeoKOM can show cat pictures but not post them.imagecrate.max-text-length.Refs #13.
Merged via PR #37. Verified: e2e post-image.spec.ts covers a small PNG kept as is, a 2400×1800 PNG scaled to a JPEG that fits, a caption giving multipart, and removing the image. The devserver test text_limit_is_learnt checks string-too-long status = 131072 and that an image of exactly the budget fits. CI run #49 is green. Not verified: the desktop file dialog.