ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Allow comfyui to use images as backgrounds

Open mijuku233 opened this issue 7 months ago • 5 comments

I've made some simple changes so that "comfyui" can use images as background. I've also added two themes with images as backgrounds, which work by placing the background image "bg.png" in the web directory. Theme "ImgBG" (based on a simple modification of the 'dark' theme): image

Theme "translucent" (translucent node and image background): image

mijuku233 avatar Nov 27 '23 16:11 mijuku233

allow generating image as background maybe as well?

TingTingin avatar Nov 28 '23 05:11 TingTingin

allow generating image as background maybe as well?

This is also a good idea, but since it requires configuring which output image to use as a background, it seems advisable to expose the API and have a separate output node for background update.

TBH, I've come across a YouTube channel that streamed with settings enabling infinite generation while changing the background a long time ago. It seems that there are individuals who fine-tune and occasionally use such setups

ltdrdata avatar Nov 28 '23 05:11 ltdrdata

When zooming in with the scroll wheel on the canvas this makes the current themes flash to the wrong color.

comfyanonymous avatar Dec 03 '23 07:12 comfyanonymous

When zooming in with the scroll wheel on the canvas this makes the current themes flash to the wrong color.

After switching themes, refresh the page once and the effect will be normal

mijuku233 avatar Dec 03 '23 09:12 mijuku233

is it possible to change the tile? I couldn`t figure out where the standard-tile is sitting...

DieserBobby avatar Dec 20 '23 18:12 DieserBobby