Visit ComfyUI Online for ready-to-use ComfyUI environment
Versatile image blending and resizing tool with precise control over overlay, blend modes, resizing, positioning, rotation, and opacity.
The ImageBlendResize node is a versatile tool designed to blend and resize images with precision and flexibility. It allows you to overlay a layer image onto a background image, offering various blend modes to achieve different visual effects. The node provides options to resize the layer image according to specific modes, such as containing or covering the background, and allows for precise positioning and scaling. Additionally, you can rotate the layer image and adjust its opacity, giving you full control over the final composition. This node is particularly useful for creating complex image compositions where the alignment and blending of multiple images are crucial.
The background_image parameter is the base image onto which the layer image will be blended. It serves as the canvas for the composition.
The layer_image parameter is the image that will be overlaid onto the background image. This image can be resized, repositioned, and blended according to the specified settings.
The blend_mode parameter determines how the layer image is blended with the background image. Options include modes like normal, multiply, screen, and overlay, each providing a different visual effect.
The resize_mode parameter specifies how the layer image should be resized relative to the background image. Options include contain, cover, fix_width, and fix_height, allowing for different scaling strategies.
The scale parameter adjusts the size of the layer image as a percentage of its original size. It ranges from 1.0 to 400.0, with a default of 100.0, allowing for both reduction and enlargement.
The x_pos parameter sets the horizontal position of the layer image on the background, expressed as a percentage of the available space. It ranges from 0.0 to 100.0, with a default of 50.0.
The y_pos parameter sets the vertical position of the layer image on the background, expressed as a percentage of the available space. It ranges from 0.0 to 100.0, with a default of 50.0.
The rotation parameter allows you to rotate the layer image by a specified angle, ranging from -180.0 to 180.0 degrees, with a default of 0.0.
The opacity parameter controls the transparency of the layer image, ranging from 0 (completely transparent) to 100 (completely opaque), with a default of 100.
The invert_mask parameter is a boolean option that, when enabled, inverts the mask applied to the layer image, affecting how it blends with the background.
The layer_mask parameter is an optional mask that can be applied to the layer image, allowing for more complex blending effects.
The fixed_width parameter is an optional setting that specifies a fixed width for the layer image when using the fix_width resize mode. It ranges from 1 to 4096, with a default of 512.
The fixed_height parameter is an optional setting that specifies a fixed height for the layer image when using the fix_height resize mode. It ranges from 1 to 4096, with a default of 512.
The image output parameter is the final blended and resized image resulting from the node's operations. It reflects all the adjustments made through the input parameters, providing a composite image ready for further processing or display.
blend_mode settings to achieve unique visual effects that suit your artistic vision.scale parameter to fine-tune the size of the layer image, ensuring it fits well within the background without losing important details.x_pos and y_pos parameters to precisely position the layer image, especially when aligning it with specific elements in the background.normal, multiply, screen, or overlay.scale, fixed_width, or fixed_height parameters to reduce the image size within acceptable limits.x_pos or y_pos values are outside the valid range.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.