-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Photoshop output is JPG, compressed, and changes the color space #261
Comments
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. 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. |
wow this looks intresting, lemme test how fast it now run following ur image build XD |
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) 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 also noticed that data is not only sent to Photoshop in compressed form, but when it comes from Photoshop it is also in compressed form 🤦♂️! |
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.
The text was updated successfully, but these errors were encountered: