Visit ComfyUI Online for ready-to-use ComfyUI environment
Expand images with mosaic-like extensions for creative borders and canvas expansion, maintaining visual integrity.
The MosaicExpandImage
node is designed to expand an image by adding mosaic-like extensions to its sides. This node is particularly useful for creating visually appealing borders or extending the canvas size of an image without simply duplicating the edge pixels. By generating mosaic patterns from the image's edges, it ensures a seamless and artistic expansion. This method is beneficial for AI artists looking to enhance their images creatively, providing a unique way to extend the canvas while maintaining the visual integrity of the original image.
The image to be expanded. This parameter takes the original image that you want to extend with mosaic patterns. The image should be in a format that can be processed by the node, typically a tensor or PIL image.
The number of fifths of the image width to expand on the left side. Increasing this value will add more mosaic blocks to the left edge of the image. The default value is 0, meaning no expansion on the left side.
The number of fifths of the image height to expand on the top side. Increasing this value will add more mosaic blocks to the top edge of the image. The default value is 0, meaning no expansion on the top side.
The number of fifths of the image width to expand on the right side. Increasing this value will add more mosaic blocks to the right edge of the image. The default value is 0, meaning no expansion on the right side.
The number of fifths of the image height to expand on the bottom side. Increasing this value will add more mosaic blocks to the bottom edge of the image. The default value is 0, meaning no expansion on the bottom side.
The expanded image with mosaic patterns added to the specified sides. This output is the final image after the expansion process, including the original image and the newly added mosaic borders.
A black and white mask image where white represents the original image and black represents the expanded mosaic areas. This mask can be used for further image processing or blending operations.
left
, top
, right
, and bottom
similar. This will ensure that the mosaic patterns are evenly distributed around the image.left
, top
, right
, bottom
) are negative.© Copyright 2024 RunComfy. All Rights Reserved.