ComfyUI > Nodes > SimpleTiles > TileSplit (Dynamic)

ComfyUI Node: TileSplit (Dynamic)

Class Name

DynamicTileSplit

Category
ipadapter
Author
kinfolk0117 (Account age: 523days)
Extension
SimpleTiles
Latest Updated
2024-05-22
Github Stars
0.04K

How to Install SimpleTiles

Install this extension via the ComfyUI Manager by searching for SimpleTiles
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter SimpleTiles in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

TileSplit (Dynamic) Description

Powerful node for dynamically splitting images into tiles based on dimensions and overlaps, ideal for AI artists and image processing tasks.

TileSplit (Dynamic):

DynamicTileSplit is a powerful node designed to dynamically split an image into multiple tiles based on specified dimensions and overlap settings. This node is particularly useful for AI artists who need to process large images in smaller, more manageable sections without losing continuity between tiles. By dynamically calculating the tile coordinates and handling overlaps, DynamicTileSplit ensures that the resulting tiles can be seamlessly merged back together, making it ideal for tasks such as image processing, texture generation, and other creative applications where working with large images is necessary. The node's ability to handle various tile sizes and overlaps provides flexibility and precision, allowing you to tailor the tiling process to your specific needs.

TileSplit (Dynamic) Input Parameters:

image

The image parameter represents the input image that you want to split into tiles. This should be a tensor representing the image data.

tile_height

The tile_height parameter specifies the height of each tile in pixels. It determines how tall each individual tile will be. The default value is 64, with a minimum of 64 and a maximum of 4096. Adjusting this value will affect the number of tiles generated and their respective heights.

tile_width

The tile_width parameter specifies the width of each tile in pixels. It determines how wide each individual tile will be. The default value is 64, with a minimum of 64 and a maximum of 4096. Adjusting this value will affect the number of tiles generated and their respective widths.

overlap

The overlap parameter defines the number of pixels that will overlap between adjacent tiles. This is crucial for ensuring that there are no gaps between tiles when they are merged back together. The default value is 64, with a minimum of 0 and a maximum of 4096. Increasing the overlap can help maintain continuity between tiles but will also increase the number of pixels processed multiple times.

offset

The offset parameter allows you to specify an offset for the tiling process. This can be useful for creating staggered or non-uniform tiling patterns. The offset value is typically an integer that shifts the starting point of the tiling process.

TileSplit (Dynamic) Output Parameters:

tiles_tensor

The tiles_tensor output is a tensor containing all the generated image tiles. Each tile is a section of the original image, split according to the specified tile dimensions and overlap settings. This output is essential for further processing or analysis of the individual tiles.

tile_calc

The tile_calc output is a tuple containing the overlap, image height, image width, and offset values used during the tiling process. This information is crucial for accurately merging the tiles back together and ensuring that the original image dimensions and overlaps are preserved.

TileSplit (Dynamic) Usage Tips:

  • To achieve seamless tiling, ensure that the overlap parameter is set appropriately. A higher overlap value can help maintain continuity between tiles but will increase processing time.
  • Experiment with different tile_height and tile_width values to find the optimal tile size for your specific application. Smaller tiles may be easier to process but will result in more tiles.
  • Use the offset parameter to create unique tiling patterns or to avoid repetitive tiling artifacts in your images.

TileSplit (Dynamic) Common Errors and Solutions:

"Tile dimensions exceed image dimensions"

  • Explanation: This error occurs when the specified tile_height or tile_width is larger than the dimensions of the input image.
  • Solution: Ensure that the tile_height and tile_width parameters are set to values smaller than the dimensions of the input image.

"Invalid overlap value"

  • Explanation: This error occurs when the overlap parameter is set to a value that is not within the acceptable range.
  • Solution: Adjust the overlap parameter to a value between 0 and 4096.

"Offset value out of range"

  • Explanation: This error occurs when the offset parameter is set to a value that is not within the acceptable range.
  • Solution: Ensure that the offset parameter is set to a valid integer value that makes sense for your tiling pattern.

TileSplit (Dynamic) Related Nodes

Go back to the extension to check out more related nodes.
SimpleTiles
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.