ComfyUI > Nodes > ComfyUI 1hewNodes > Image Tile Split

ComfyUI Node: Image Tile Split

Class Name

1hew_ImageTileSplit

Category
1hewNodes/image/tile
Author
1hew (Account age: 1113days)
Extension
ComfyUI 1hewNodes
Latest Updated
2026-04-17
Github Stars
0.03K

How to Install ComfyUI 1hewNodes

Install this extension via the ComfyUI Manager by searching for ComfyUI 1hewNodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI 1hewNodes 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Image Tile Split Description

The node divides images into customizable tiles for efficient processing and detailed analysis.

Image Tile Split:

The 1hew_ImageTileSplit node is designed to facilitate the division of an image into smaller, manageable tiles. This node is particularly useful for tasks that require processing large images in smaller sections, such as detailed image analysis, texture mapping, or creating image mosaics. By splitting an image into tiles, you can focus on specific areas without handling the entire image at once, which can be resource-intensive. The node offers flexibility in how the image is divided, allowing you to specify the number of rows and columns for the grid, as well as the overlap between tiles. This ensures that you can tailor the tiling process to suit your specific needs, whether you're aiming for seamless transitions between tiles or need precise control over the tile dimensions.

Image Tile Split Input Parameters:

image

The image parameter is the input image that you want to split into tiles. It should be provided as a tensor, which is a multi-dimensional array commonly used in machine learning and image processing. The image's dimensions will determine the number of tiles that can be generated based on the specified grid settings.

mode

The mode parameter determines the method used to split the image. Different modes may offer various ways to handle the image data, such as adjusting for color channels or handling transparency. The choice of mode can affect the appearance and quality of the resulting tiles.

overlap_amount

The overlap_amount parameter specifies the percentage of overlap between adjacent tiles. This is useful for ensuring continuity between tiles, especially in applications where seamless transitions are important. The overlap is defined as a float, typically ranging from 0.0 (no overlap) to 1.0 (complete overlap).

grid_row

The grid_row parameter defines the number of rows into which the image will be divided. By default, this is set to 2, but you can adjust it to increase or decrease the number of horizontal divisions. This parameter, in conjunction with grid_col, determines the total number of tiles.

grid_col

The grid_col parameter specifies the number of columns for the grid. Similar to grid_row, it defaults to 2 and can be adjusted to control the vertical divisions of the image. Together with grid_row, it defines the grid layout for the tiles.

divisible_by

The divisible_by parameter ensures that the dimensions of each tile are divisible by a specified integer, typically 8. This is important for compatibility with certain image processing algorithms that require dimensions to be multiples of a specific number.

get_tile_size

The get_tile_size parameter allows you to specify a custom size for the tiles. If provided, this overrides the grid-based division, giving you direct control over the dimensions of each tile. This can be useful when you need tiles of a specific size for your application.

Image Tile Split Output Parameters:

tiles

The tiles output parameter is a list of image tiles generated from the input image. Each tile is a smaller section of the original image, created based on the specified grid and overlap settings. These tiles can be used individually for further processing or analysis.

tile_metas

The tile_metas output parameter provides metadata for each tile, including information about its position and size. This metadata is essential for reconstructing the original image from the tiles or for understanding the context of each tile within the larger image.

Image Tile Split Usage Tips:

  • Adjust the grid_row and grid_col parameters to control the number of tiles and their arrangement. More rows and columns will result in smaller tiles.
  • Use the overlap_amount to ensure smooth transitions between tiles, especially if the tiles will be recombined later.
  • Consider using the get_tile_size parameter if you need tiles of a specific dimension, which can be crucial for certain applications like machine learning models that require fixed input sizes.

Image Tile Split Common Errors and Solutions:

Image tensor shape mismatch

  • Explanation: This error occurs when the input image tensor does not have the expected shape, which can happen if the image has multiple channels or dimensions that are not handled by the node.
  • Solution: Ensure that the input image tensor is correctly formatted, typically as a single-channel or three-channel image. You may need to preprocess the image to match the expected input shape.

Invalid overlap amount

  • Explanation: The overlap amount must be a float between 0.0 and 1.0. If a value outside this range is provided, the node cannot calculate the correct overlap.
  • Solution: Check the overlap_amount parameter and ensure it is within the valid range. Adjust the value to a suitable percentage of overlap.

Tile size not divisible by specified value

  • Explanation: If the divisible_by parameter is set, each tile's dimensions must be divisible by this value. If not, the node will not be able to generate the tiles correctly.
  • Solution: Adjust the divisible_by parameter or the grid settings to ensure that the resulting tile dimensions meet the divisibility requirement.

Image Tile Split Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI 1hewNodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

Image Tile Split