AlekPet / ComfyUI_Custom_Nodes_AlekPet

Custom nodes that extend the capabilities of Comfyui
MIT License
673 stars 45 forks source link

Canvas Size != ImageSize #48

Open flokohlert opened 2 months ago

flokohlert commented 2 months ago

Hi!

I guess since the last update the image size seems to differ from the resulting image. If I set the canvas to 1024x1024 all the ouput images seem to be 1126x1126 and for 512x512 they are 563x563. Thanks for your great work!

AlekPet commented 2 months ago

Hi!

I guess since the last update the image size seems to differ from the resulting image. If I set the canvas to 1024x1024 all the ouput images seem to be 1126x1126 and for 512x512 they are 563x563. Thanks for your great work!

Hello, I just looked at it, there are no problems with the sizes. In the last update I didn't touch the size :). What browser?

flokohlert commented 2 months ago

Thanks, Browser is Edge on Windows 10.

AlekPet commented 2 months ago

Thanks, Browser is Edge on Windows 10.

I looked in Edge and everything is fine too. Maybe you have some other node that changes the size, I’m even at a loss to answer, hmmm...

https://github.com/AlekPet/ComfyUI_Custom_Nodes_AlekPet/assets/25489996/5a3d9b79-df12-4a11-98c7-34cf1b13d067

MaraScott commented 1 month ago

The size are not correct here neither when using an image as input, the output is smaller for an image 1024 width 768 height, I got 960x720

bananasss00 commented 1 week ago

@AlekPet,

I looked in Edge and everything is fine too. Maybe you have some other node that changes the size, I’m even at a loss to answer, hmmm...

I also faced this problem that the size of the output image did not correspond to the input image. the reason was simple. this happens when the browser page scale is not equal to 100%.

PS: after change page zoom, you need to refresh the page for the bug to reproduce itself

image image

AlekPet commented 1 week ago

@AlekPet,

I looked in Edge and everything is fine too. Maybe you have some other node that changes the size, I’m even at a loss to answer, hmmm...

I also faced this problem that the size of the output image did not correspond to the input image. the reason was simple. this happens when the browser page scale is not equal to 100%.

PS: after change page zoom, you need to refresh the page for the bug to reproduce itself

image image

Hello, thanks you! I corrected it a little, although in the “selection” mode the controls are displayed incorrectly. Update the nodes. 😄