[GH-ISSUE #52] It works only for an image of not generated in SD. #42

Closed
opened 2026-10-30 21:08:43 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @GusevNikita on GitHub (May 12, 2025).
Original GitHub issue: https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg/issues/52

The issue manifests as follows: the background is successfully removed, but instead of transparency, a black background appears. Both the input and output images are in PNG format

No obvious errors are visible in the logs, making it difficult to determine what exactly is causing this behavior. I have tried restarting the interface and clearing the cache — the result remains unchanged.

Interestingly, if I use images loaded from external sources (not generated in Stable Diffusion), the plugin works correctly and preserves transparency. This leads me to suspect that the problem may be related to specific characteristics of how images generated directly in SD are being processed.

I would greatly appreciate any advice or pointers regarding possible settings or fixes that could help resolve this issue.

Originally created by @GusevNikita on GitHub (May 12, 2025). Original GitHub issue: https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg/issues/52 The issue manifests as follows: the background is successfully removed, but instead of transparency, a black background appears. Both the input and output images are in PNG format No obvious errors are visible in the logs, making it difficult to determine what exactly is causing this behavior. I have tried restarting the interface and clearing the cache — the result remains unchanged. Interestingly, if I use images loaded from external sources (not generated in Stable Diffusion), the plugin works correctly and preserves transparency. This leads me to suspect that the problem may be related to specific characteristics of how images generated directly in SD are being processed. I would greatly appreciate any advice or pointers regarding possible settings or fixes that could help resolve this issue.
Author
Owner

@GusevNikita commented on GitHub (May 13, 2025):

To everyone who faces this problem, you Need to Disable "Write Infotext to Metadata of the Generated Image" to Fix this =)

<!-- gh-comment-id:2874619633 --> @GusevNikita commented on GitHub (May 13, 2025): To everyone who faces this problem, you Need to Disable "Write Infotext to Metadata of the Generated Image" to Fix this =)
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AUTOMATIC1111/stable-diffusion-webui-rembg#42
No description provided.