element-hq / element-hq/hydrogen-web

Use better quality image scaling algorithm for creating thumbnails.

Open
#348 2 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
TypeScript
Stars
714
Forks
131
PR merge metrics
No merged PRs in 30d

Description

See:
- https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/imageSmoothingQuality
- https://github.com/nodeca/pica
- https://bundlephobia.com/result?p=pica@6.1.1
- https://github.com/vector-im/element-web/issues/2769

Contributor guide

Open the contributing guide

Research direction

Search the thumbnail creation path and inspect how CanvasRenderingContext2D currently scales images. Compare the imageSmoothingQuality API with pica@6.1.1 and review the linked Element issue for expected quality and browser constraints. Done means thumbnails use an agreed higher-quality scaling approach without breaking supported browsers, with relevant tests or visual verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.