lunapaint / vscode-luna-paint

A raster image editor extension for VS Code
https://marketplace.visualstudio.com/items?itemName=Tyriar.luna-paint
282 stars 27 forks source link

resize image #104

Closed MattHoag-MS closed 3 years ago

MattHoag-MS commented 3 years ago

Resizing an image in Luna Paint would help with the mark down document creation in github (used by docs.microsoft.com) so that another image editor would not be required.

Tyriar commented 3 years ago

Resizing is supported already, you can resize by clicking the image dimensions on the bottom right or by running the Luna: Image > Resize command (via command palette or Menu button in top left).

You can also resize the canvas and if you have a selection out of the canvas bounds there's this button to adjust the canvas size to include the selection, like when pasting in a large image:

image

MattHoag-MS commented 3 years ago

Thanks. This is helpful! The icon used for this feature wasn't intuitive. I didn't realize its function.

mslinn commented 1 year ago

Is there a way to resize proportionally? For example, specify new width, with automatically computed height.

Tyriar commented 1 year ago

@mslinn right now the fastest way of doing that is running the resize image command and then entering 50%, enter, 50%