AbdullahAlfaraj / Auto-Photoshop-StableDiffusion-Plugin

A user-friendly plug-in that makes it easy to generate stable diffusion images inside Photoshop using either Automatic or ComfyUI as a backend.
MIT License
6.52k stars 494 forks source link

Problem when saving an edited image/quick safe not possible in Photoshop #482

Closed madrooky closed 2 months ago

madrooky commented 2 months ago

I work with Lightroom to manage my library, and anyone who knows Lightroom knows that it is very bitchy about changes made outside of it. So when editing images, I call PS via the context menu in LR, and normally when saving the changes, LR updates the catalogue. Now, when using the AutoPSD plugin, I can't quick save the images anymore. Perhaps because the original img is an jpg and comfyUI exports an PNG? Idk, it was the same when I used standard SD via the plugin. Anyhow, when generating images this way, and trying to quick save, PS wants to export the image as PNG, no choise to chose the original format. I usually use my comfy workflow to make little fixes in images, its awesome actually to fix small crappy pixel errors or denoising.

Now when working with a low number of images this seems not an issue, but I have libraries that have hundreds of thousands of images, and I need a quick workflow edit images. And exporting via PS and then reimporting via Lightroom is like a nightmare.

Also, by the numbers of images I don't want to have the entire library of images in PNG, because I keep always an original copy in a higher resolution for later use. You can imagine what it costs in TB when converting a JPG library that already has a couple of TB to PNG, that would bust my storage...

Any tips to workaround this issue?

/edit: I have one workaround, copy the canvas in PS, open a new file and paste the copied canvas, work on the new canvas, and then copy the canvas back to the original one in order to be able to overwrite the original image. But that is cumbersome.

madrooky commented 2 months ago

Nevermind, it seems to be working now.