Skip to content

Image viewer changes#919

Merged
7w1 merged 2 commits into
devfrom
image-viewer-changes
Jun 9, 2026
Merged

Image viewer changes#919
7w1 merged 2 commits into
devfrom
image-viewer-changes

Conversation

@nushea

@nushea nushea commented Jun 5, 2026

Copy link
Copy Markdown
Member

Description

Change Pixelation options to be never smart or always, removing the chat/image-viewer distinction

The 'smart' setting marks images smaller than 192 (128+64) as pixelart by default, this means that the image will appear crisp in the regular chat, and will default to crisp in the image viewer, and if the image is any bigger it will become anti-aliased in both.

However, if someone wants to see an image of a higher resolution as pixelart they now have a button next to the reset view options to toggle pixelation and anti-alias.

Fixes #

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new warnings

AI disclosure:

  • Partially AI assisted (clarify which code was AI assisted and briefly explain what it does).
  • Fully AI generated (explain what all the generated code does in moderate detail).

This code was written with the boredom of not having anything better to do

Signed-off-by: Shea <nu@she-a.eu>
@nushea nushea requested review from 7w1 and hazre as code owners June 5, 2026 04:29
@nushea nushea force-pushed the image-viewer-changes branch from 0eb5e5f to 66e1ebf Compare June 5, 2026 04:32
Signed-off-by: Shea <nu@she-a.eu>
@nushea nushea force-pushed the image-viewer-changes branch from 66e1ebf to 9b33efc Compare June 5, 2026 04:34
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

Status Preview URL Commit Alias Updated (UTC)
✅ Deployment successful! https://pr-919-sable.raspy-dream-bb1d.workers.dev 9b33efc pr-919 Fri, 05 Jun 2026 04:35:57 GMT

@7w1 7w1 added this pull request to the merge queue Jun 9, 2026
Merged via the queue into dev with commit f5b81ea Jun 9, 2026
12 checks passed
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