Open Jonseed opened 2 weeks ago
Agree..... For now this plugin produce incredible amount of JPG artifect.... I really wish V2.0 gonna fix it according to Nima
I guess Nima did it for the sake of Speed. I tried sd-ppp plugin with Nima's workflow, combined them together. Please check this issue https://github.com/NimaNzrii/comfyui-photoshop/issues/239
SD-PPP "Get image from Photoshop" Node does NOT have this Quality degradation problem, but it will kept the canvas original size, for most case it is not ideal since I was using SDXL Lightning it will cause problem. So I used Layerstyle "Image scale by aspect Ratio V2" Node to shrink the "Get image from Photoshop" output. During multiple test, I found out that this workflow also not ideal, since it has to do size scale before it fed to Ksampler for img2img...... And it feels Cluncky and not as smooth as before..
This is tricky question, I hope some bright mind has solution to tackle this problem!
@LiJT I'm also using SD-PPP instead because of this quality issue. In SD-PPP it is slow if you get the whole canvas of a very large image, but with SD-PPP you can specify the context boundary to get with the "bound" input (just draw a shape the boundaries you want on the selected layer in the Get Layer node), which makes it much faster, like this:
Looking forward to Nima fixing this quality issue in ComfyUI-Photoshop, because it is easier to get the context area around the selection via the padded crop. I like that workflow better.
@LiJT I'm also using SD-PPP instead because of this quality issue. In SD-PPP it is slow if you get the whole canvas of a very large image, but with SD-PPP you can specify the context boundary to get with the "bound" input (just draw a shape the boundaries you want on the selected layer in the Get Layer node), which makes it much faster, like this:
Looking forward to Nima fixing this quality issue in ComfyUI-Photoshop, because it is easier to get the context area around the selection via the padded crop. I like that workflow better.
wow this looks intresting, lemme test how fast it now run following ur image build XD
@LiJT I'm also using SD-PPP instead because of this quality issue. In SD-PPP it is slow if you get the whole canvas of a very large image, but with SD-PPP you can specify the context boundary to get with the "bound" input (just draw a shape the boundaries you want on the selected layer in the Get Layer node), which makes it much faster, like this:
Looking forward to Nima fixing this quality issue in ComfyUI-Photoshop, because it is easier to get the context area around the selection via the padded crop. I like that workflow better.
Thanks man, today I just tried your method, unfortuanate for my prefered resolution 2560x1440... SD-PPP node still is about 3times slower than Nima Method. Even I switch back to SD 1.5 LCM method. The SD-PPP node will take about 1 sec before each loading time, Total generation time is about 2-4 seconds (I dont want sound like a dick but yeah I know it is pretty fast but waaaaay slower than Nima method) It feels not as smooth Nima which only took 0.02s to load the image, total generation time for SDXL Lightning on my 4090 is about 0.95second for each image.
When Nima is coming back, we miss him dearly
It's probably because SD-PPP is getting an uncompressed image, which takes longer to save out to temp folder. JPG is faster, but you lose a lot on quality. Once Nima switches to uncompressed, it will probably be slower too.
I'm new to this Photoshop plugin, but I have experience with Stable Diffusion and ComfyUI. I'm really looking forward to using this plugin, as it will really help my workflow.
I noticed as I began using the plugin a few things:
PS_canvas.png
in the data folder). ExifTool clearly says it is a JPG file:I think the plugin in Photoshop needs to get the canvas image as a raw lossless untagged PNG image. This would prevent most of these problems I think.