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

Feature suggestion: convert-format #69

Open NeilMacMullen opened 3 years ago

NeilMacMullen commented 3 years ago

Firstly - thanks for really fantastic extension! I don't do a lot of image editing but when I do it's so useful to be able to open an image in Code.

I'm not sure if this is already supported and I'm just failing to find it but I was hoping for a "change format"/"convert to"/"save as" operation that would let me load in a jpg and save it back out as a png (or any other sensible combination).

Tyriar commented 3 years ago

Thanks for the kind words. You may already be able to do this via regular save as, but I'll double check to make sure it works as expected.

NeilMacMullen commented 3 years ago

It's definitely not possible under Save-As currently - you just get a (very long!) list of supported filetypes which are mostly just languages supported by the various other extension :-)

image

Tyriar commented 3 years ago

Oh good point, I've been using the "simple dialog" ("files.simpleDialog.enable": true) for a long time and forgot about this experience 🤦

Screen Shot 2021-05-18 at 4 51 33 AM

Will check it out

Tyriar commented 3 years ago

I think this needs a fix in VS Code: https://github.com/microsoft/vscode/issues/124423

NeilMacMullen commented 3 years ago

Ah that's a shame - would it be possible to add a special luna command accessible from the command-palette that could do this?

Tyriar commented 3 years ago

I don't really see a nice way to do that, hopefully it'll get into vscode core soon though. You could switch on the simple dialog if this is important to you with "files.simpleDialog.enable": true

NeilMacMullen commented 3 years ago

Ah, no worries. Will wait for the vscode fix - thanks!