ComfyUI  >  Nodes  >  Seamless tiling Node for ComfyUI >  Offset Image

ComfyUI Node: Offset Image

Class Name

OffsetImage

Category
image
Author
spinagon (Account age: 4749 days)
Extension
Seamless tiling Node for ComfyUI
Latest Updated
5/23/2024
Github Stars
0.1K

How to Install Seamless tiling Node for ComfyUI

Install this extension via the ComfyUI Manager by searching for  Seamless tiling Node for ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Seamless tiling Node for ComfyUI 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

Offset Image Description

Shift image position by percentage on x and y axes for precise layout control and pattern creation.

Offset Image:

The OffsetImage node is designed to shift or "offset" an image by a specified percentage along the x and y axes. This operation is particularly useful for creating seamless tiles or for artistic effects where you need to reposition the content of an image without altering its dimensions. By adjusting the offset percentages, you can control how much of the image is moved horizontally and vertically, allowing for precise manipulation of the image's layout. This node is essential for tasks that require image alignment or pattern creation, providing a straightforward method to achieve these effects.

Offset Image Input Parameters:

pixels

This parameter represents the input image that you want to offset. The image should be in a format that the node can process, typically a tensor representation of the image.

x_percent

This parameter controls the horizontal offset of the image as a percentage of the image's width. The value ranges from 0.0 to 100.0, with a default of 50.0. A value of 0.0 means no horizontal shift, while 100.0 means the image is shifted by its entire width.

y_percent

This parameter controls the vertical offset of the image as a percentage of the image's height. The value ranges from 0.0 to 100.0, with a default of 50.0. A value of 0.0 means no vertical shift, while 100.0 means the image is shifted by its entire height.

Offset Image Output Parameters:

IMAGE

The output is the offset image, which is the original image shifted according to the specified x and y percentages. The dimensions of the image remain unchanged, but the content is repositioned based on the offset values.

Offset Image Usage Tips:

  • To create a seamless tile effect, set both x_percent and y_percent to 50.0. This will shift the image by half its width and height, making the edges align perfectly when tiled.
  • Experiment with different x_percent and y_percent values to achieve unique artistic effects, such as creating patterns or aligning specific elements within the image.
  • Use this node in combination with other image transformation nodes to create complex image manipulations and effects.

Offset Image Common Errors and Solutions:

"Invalid image format"

  • Explanation: The input image is not in a supported format or is corrupted.
  • Solution: Ensure that the input image is in a valid format and is not corrupted. Convert the image to a supported format if necessary.

"x_percent or y_percent out of range"

  • Explanation: The values for x_percent or y_percent are outside the allowed range of 0.0 to 100.0.
  • Solution: Adjust the x_percent and y_percent values to be within the range of 0.0 to 100.0.

"Image dimensions mismatch"

  • Explanation: The input image dimensions are not consistent or are not supported by the node.
  • Solution: Verify that the input image has consistent dimensions and is in a format supported by the node. Resize or preprocess the image if necessary.

Offset Image Related Nodes

Go back to the extension to check out more related nodes.
Seamless tiling Node for ComfyUI
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.