Visit ComfyUI Online for ready-to-use ComfyUI environment
Shift image pixels horizontally and vertically for wrap-around effect, ideal for seamless textures and artistic displacement.
The ImageMagick Roll node is designed to shift the pixels of an image horizontally and/or vertically, creating a wrap-around effect. This transformation is particularly useful for creating seamless textures or for artistic effects where you want to displace parts of the image in a cyclic manner. By rolling the image, you can achieve unique visual effects that can enhance your creative projects. The main goal of this node is to provide a simple yet powerful way to manipulate the position of pixels in an image, allowing for creative and practical applications in digital art and design.
This parameter represents the input image that you want to apply the roll transformation to. The image should be in a format that is compatible with the ImageMagick library.
This integer parameter specifies the number of pixels to shift the image horizontally. The default value is 0, with a minimum value of 0 and a maximum value of 1024. Increasing this value will move the image to the right, wrapping the pixels around to the left.
This integer parameter specifies the number of pixels to shift the image vertically. The default value is 0, with a minimum value of 0 and a maximum value of 1024. Increasing this value will move the image downwards, wrapping the pixels around to the top.
The output is the transformed image with the roll effect applied. This image will have the same dimensions as the input image but with the pixels shifted according to the specified x and y values.
ValueError: x value out of range
ValueError: y value out of range
TypeError: Invalid image format
© Copyright 2024 RunComfy. All Rights Reserved.