Visit ComfyUI Online for ready-to-use ComfyUI environment
Versatile node streamlines image preparation for AI art with customization tools for resizing, cropping, and sharpening.
Prepare Image Plus (JPS) is a versatile node designed to streamline and enhance the process of preparing images for various AI art applications. This node allows you to customize and fine-tune your images by adjusting parameters such as resizing, cropping, padding, interpolation, and sharpening. It provides a comprehensive set of tools to ensure your images are perfectly tailored to your needs, whether you're maintaining the original size, resizing to a target dimension, or applying specific transformations. The node's flexibility and precision make it an essential tool for AI artists looking to optimize their image inputs for better results in their creative projects.
This parameter is a composite setting that includes various sub-parameters to control the image preparation process. It encompasses settings for resizing, cropping, padding, interpolation, and sharpening. The imageprepare_settings
parameter allows you to specify how the image should be adjusted, ensuring that all transformations are applied consistently and accurately. The settings include options for keeping the original size, resizing to a target, or resizing to the source, as well as different interpolation methods like lanczos
, nearest
, bilinear
, bicubic
, area
, and nearest-exact
. Additionally, you can control the amount of sharpening applied to the image and whether the image should be flipped.
This output parameter indicates the horizontal offset applied to the image. It is essential for aligning the image correctly after resizing or cropping.
This output parameter indicates the vertical offset applied to the image. It ensures the image is properly aligned vertically after any transformations.
This output parameter specifies the number of pixels cropped from the left side of the image. It helps in focusing on the desired part of the image.
This output parameter specifies the number of pixels cropped from the right side of the image. It is used to remove unwanted parts from the right edge.
This output parameter specifies the number of pixels cropped from the top of the image. It helps in removing unnecessary parts from the top edge.
This output parameter specifies the number of pixels cropped from the bottom of the image. It is used to eliminate unwanted parts from the bottom edge.
This output parameter indicates the number of pixels added as padding to the left side of the image. It is useful for adding space around the image.
This output parameter indicates the number of pixels added as padding to the right side of the image. It helps in creating a balanced composition.
This output parameter indicates the number of pixels added as padding to the top of the image. It is used to add space above the image.
This output parameter indicates the number of pixels added as padding to the bottom of the image. It helps in adding space below the image.
This output parameter specifies the interpolation method used for resizing the image. Options include lanczos
, nearest
, bilinear
, bicubic
, area
, and nearest-exact
. Each method affects the image quality differently.
This output parameter indicates the amount of sharpening applied to the image. It enhances the image's details and edges.
resize_to
parameter to "Keep Size".lanczos
interpolation method.lanczos
, nearest
, bilinear
, bicubic
, area
, or nearest-exact
.© Copyright 2024 RunComfy. All Rights Reserved.