Skip to content

fix(ui): Image scaling tweaks for sharper pixels#339

Open
ashquarky wants to merge 6 commits intodevfrom
work/image-scaling-tweaks
Open

fix(ui): Image scaling tweaks for sharper pixels#339
ashquarky wants to merge 6 commits intodevfrom
work/image-scaling-tweaks

Conversation

@ashquarky
Copy link
Member

@ashquarky ashquarky commented Feb 11, 2026

Resolves #XXX

Changes:

General improvements to image scaling and handling.

  • Introduce "big" images - 2x nearest upscales for Wii U, since that WebKit can't do image-rendering and thus always uses blurry filtering. For most of our images - especially paintings - this is terrible. Instead, 2x them serverside (so paintings become 640px) and tweak the portal layout to display them 1:1 at that size.
    • Also helps a lot with lower-res 3DS screenshots.
    • Increases page weight, but sharp rendering of paintings is kinda essential for the Miiverse aesthetic, so..
  • Introduce 48px and 96px icons (used in loads of places in the UI, but can't actually use them yet since none exist on CDN. Migration needed?)
  • Bump JPEG quality for screenshots (again)
  • Got the aspect ratio of the 3DS top screen wrong in feat(ui): Image processing improvements #161, oops
  • Tweak 3DS community layout to display icons at 64px (unscaled)
  • Don't send debug.js to Wii Us

We've stacked up a few changes to image rendering, but the frontend still has to support all the legacy options. If these quality settings sit well with the users, we may want to consider doing a bulk migration of the historical post attachments and replacing them on the CDN. Then we can assume all the formats we want are there and don't need to worry about fallbacks.

Filed as a draft against a work branch for early review and to get the right diff, can change base to dev once #332 lands.

portal webkit can't upscale cleanly, so introduce "big" versions of images that are point upscaled for clean pixels.

also tweak layout to always display at native rather than up/downscaling.
48 and 96 are actually used pretty extensively in the portal interface
they really are quite poor sometimes
@suprstarrd
Copy link
Contributor

suprstarrd commented Feb 11, 2026

Don't send debug.js to Wii Us

But I like putting wiiU in my wiiU!

Base automatically changed from feat/new-ctr-post-ui to dev February 16, 2026 21:46
@ashquarky ashquarky marked this pull request as ready for review February 16, 2026 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants