Thanks to visit codestin.com
Credit goes to github.com

Skip to content

v1: Disable image upscaling in canvas image loading#5674

Merged
FeodorFitsner merged 1 commit intomainfrom
v1-canvas-image-fix
Oct 2, 2025
Merged

v1: Disable image upscaling in canvas image loading#5674
FeodorFitsner merged 1 commit intomainfrom
v1-canvas-image-fix

Conversation

@FeodorFitsner
Copy link
Contributor

@FeodorFitsner FeodorFitsner commented Oct 2, 2025

Sets allowUpscaling to false when instantiating image codec in loadCanvasImage, preventing automatic upscaling of loaded images.

Summary by Sourcery

Bug Fixes:

  • Set allowUpscaling to false in ui.instantiateImageCodec within loadCanvasImage to stop image upscaling

Sets allowUpscaling to false when instantiating image codec in loadCanvasImage, preventing automatic upscaling of loaded images.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR disables automatic image upscaling in the canvas image loading functionality by setting the allowUpscaling parameter to false when instantiating image codecs.

  • Prevents automatic upscaling of images loaded into canvas controls
  • Preserves original image dimensions when loading images

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've reviewed this pull request using the Sourcery rules engine

@FeodorFitsner FeodorFitsner merged commit dbcb55f into main Oct 2, 2025
43 checks passed
@FeodorFitsner FeodorFitsner deleted the v1-canvas-image-fix branch October 2, 2025 16:39
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.

3 participants