depthmap2mask icon indicating copy to clipboard operation
depthmap2mask copied to clipboard

Error if file format for images is set to JPG

Open Vega-KH opened this issue 2 years ago • 0 comments

To reproduce:

In A1111 settings, set "File format for images" to jpg, then run the extension.

The issue:

By default, it is trying to save the image in RBGA format (with an alpha channel.) JPG doesn't have an alpha channel, so there is an error. I don't think this alpha channel is needed, so it may be beneficial to remove it before saving to reduce storage space.

Vega-KH avatar Nov 27 '22 21:11 Vega-KH