stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: Batch Img2Img doesn't retain PNG information

Open lionrooter opened this issue 2 years ago • 2 comments
trafficstars

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

I'm using batch Img2Img, but the pics that're outputting are coming out as Jpg.

I reconfirmed that the setting that converts to jpg if the png is too large is unchecked and it still does it.

I converted the input images to png and now PNGs are outputted but no information is stored on it like txt2img. I'm using Dynamic prompting so it would be helpful to have this information retained.

Steps to reproduce the problem

  1. Go to img2img -> Batch img2img and Input Input and Output Directory
  2. Press Generate
  3. Drag PNG into PNG info and nothing is displayed

What should have happened?

No, the data should write to the png

Commit where the problem happens

44c46f0ed395967cd3830dd481a2db759fda5b3b

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

Brave

Command Line Arguments

No response

Additional information, context and logs

No response

lionrooter avatar Dec 05 '22 20:12 lionrooter

yes I’m seeing this too

dvschultz avatar Mar 17 '23 03:03 dvschultz

I found out about 2 weeks ago that if you don't enter an output directory, the png information is retained, but the original file name is lost and a number generated file name is created, making it harder to figure out the original image for img2img/

lionrooter avatar Mar 17 '23 13:03 lionrooter