serenity
serenity copied to clipboard
PixelPaint: Allow resizing images and layers.
Fixes #11862 This PR adds a None ScalingMode to LibGfx and incorporates that into PixelPaint to allow for resizing of the canvas without scaling the image. The previous behaviour was to always rescale the canvas when resizing an image. This adds a radio button to the resize image dialog, which blits the existing canvas at it's existing size to the top left of the new, resized canvas.
Hello!
One or more of the commit messages in this PR do not match the SerenityOS code submission policy, please check the lint_commits CI job for more details on which commits were flagged and why.
Please do not close this PR and open another, instead modify your commit message(s) with git commit --amend and force push those changes to update this PR.
Oh also, please click the "Resolve conversation" button on any review comments that you have dealt with. It makes it easier for maintainers to spot that they should review the PR again. :^)