sd-forge-layerdiffuse icon indicating copy to clipboard operation
sd-forge-layerdiffuse copied to clipboard

Feature Suggestion: Save/Output the actually transparent image, instead of the one with grid background

Open MNeMoNiCuZ opened this issue 11 months ago • 7 comments

Currently, the extension saves the preview file with a grid background, see below:

2024-03-04 - 00 58 56

But this is not actually transparent, it's just an example, to show that it's doing the transparency correctly.

The file I actually want to output is the one WITH transparency: image

But this has to manually be downloaded, and then it's just saved as image.png, so I don't get my naming done by A1111/Forge.

I suggest to switch which file is saved first, or saved at all. The grid preview is completely useless to me at least. An option would be best I guess in case someone prefers the grid version.

Great work on this tool!

MNeMoNiCuZ avatar Mar 04 '24 00:03 MNeMoNiCuZ

I've actually had the same issue, but afterwards realized it's not an issue, just not explicitly explained anywhere.

Under the Image Preview, you should have 2 small images where you can choose between one with the transparent grid, and one which appears to have a dark background.

The one with the dark background is the one with transparency.

Hope that helps!

adrianlungu avatar Mar 04 '24 02:03 adrianlungu

I still hope that transparent images can be automatically saved in forge\webui\output\txt2img-images

newxhy avatar Mar 04 '24 03:03 newxhy

I've actually had the same issue, but afterwards realized it's not an issue, just not explicitly explained anywhere.

Under the Image Preview, you should have 2 small images where you can choose between one with the transparent grid, and one which appears to have a dark background.

The one with the dark background is the one with transparency.

Hope that helps!

No, this is not a solution. As I mentioned in the original post, this means I manually have to save and name each image which is very slow. It means it doesn't work to batch at all.

I would consider it a bug that the program saves the wrong picture as it is. It's like saving a thumbnail instead of the real picture you wanted.

MNeMoNiCuZ avatar Mar 04 '24 09:03 MNeMoNiCuZ

I've actually had the same issue, but afterwards realized it's not an issue, just not explicitly explained anywhere.

Under the Image Preview, you should have 2 small images where you can choose between one with the transparent grid, and one which appears to have a dark background.

The one with the dark background is the one with transparency.

Hope that helps!

112359 Dear adrianlungu:

I cannot get the 2 small images under the image preview, I've got only 1 picture which is not transparent but grey backgrounded, do you have any idea about the issue?

thank you very much.

zhucede avatar Mar 06 '24 05:03 zhucede

same issue, I suppose the image is not RGBA format when saved, but I don't know where to modify the codes

Carlofkl avatar Mar 06 '24 12:03 Carlofkl

https://github.com/layerdiffusion/sd-forge-layerdiffuse/pull/6

There's a fix in progress I think.

MNeMoNiCuZ avatar Mar 06 '24 14:03 MNeMoNiCuZ

It's very nice jewelry for you please buy it

RemadanAdusebro avatar Mar 07 '24 22:03 RemadanAdusebro