was-node-suite-comfyui icon indicating copy to clipboard operation
was-node-suite-comfyui copied to clipboard

KSampler Cycle - aspect ratio changed after generate

Open toshigen opened this issue 1 year ago • 1 comments

For KSampler Cycle, when connected upscale_model and input latent of 1280 x 720 pixel with upscale factor 1.0 , it will get 1280 x 704 pixel instead of 720p.

If upscale_model input is not connected it will produce 1280 x 720 pixel image

image

How to get 1280 x 720 pixel when upscale_model connected?

FYI, I used image to image process and need accurated composition result from original.

Thank you in advance,

toshigen avatar Oct 10 '24 08:10 toshigen

It's likely cause the upscale model is fixed increments and we size down the image from 2x, 4x etc, but the calculation is done by multiples of 8 from memory. It should probably just keep track of initial resolution

On Thu, Oct 10, 2024, 1:19 AM toshigen @.***> wrote:

For KSampler Cycle, when connected upscale_model and input latent of 1280 x 720 pixel with upscale factor 1.0 , it will get 1280 x 704 pixel instead of 720p.

If upscale_model input is not connected it will produce 1280 x 720 pixel image

image.png (view on web) https://github.com/user-attachments/assets/2a598dca-2a44-4f44-91f2-0164e593bbeb

How to get 1280 x 720 pixel when upscale_model connected?

FYI, I used image to image process and need accurated composition result from original.

Thank you in advance,

— Reply to this email directly, view it on GitHub https://github.com/WASasquatch/was-node-suite-comfyui/issues/486, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZEZI3ZG4H3JGFKZSCRC3Z2Y2AVAVCNFSM6AAAAABPWGSFMCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU3TQMBUGU3TCMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

WASasquatch avatar Oct 10 '24 15:10 WASasquatch