Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change canvas size #777

Open
CharonM72 opened this issue Aug 20, 2022 · 4 comments
Open

Change canvas size #777

CharonM72 opened this issue Aug 20, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@CharonM72
Copy link

A node to change canvas size (extendable with transparency for RGBA, or maybe a color or something for other colorspaces) would be useful.

@RunDevelopment
Copy link
Member

Just to clarify: Using Paint.net as an example, you basically want this, right?
image

@theflyingzamboni
Copy link
Collaborator

This is already (largely) accomplished by Create Border. We should probably expand on what that node can do. Right now it lacks a version to control border sizes independently (like with crop), and the idea of a color-picker for constant color is still unimplemented as well.

@CharonM72
Copy link
Author

Yes, something like that from paint.net.
I'm trying to see if it's possible to automate a process I currently do manually for converting a large number of images into a specific aspect ratio and size without loss in quality. Right now it has a lot of the tools needed but it still missing a few. I submitted a somewhat broader but kind of different issue in #798.

@RunDevelopment RunDevelopment added the enhancement New feature or request label Oct 9, 2022
@simolg
Copy link

simolg commented Aug 25, 2023

"canvas size" is a different method to change the image size:

  • canvas to bigger size is similar to "create border" method
  • canvas to smaller size is similar to "crop" method

they are similar methods but not the same!

in many cases "canvas size" is very useful:
the destination of the new canvas must be specified in pixels,
after setting an anchor, the image is refitted (automatically)

if it comes out it creates edges, if it shrinks it crops (or even a mix of the two)

this feature would be very welcome
Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants