Visit ComfyUI Online for ready-to-use ComfyUI environment
Automate image source preparation for AI art with resizing, cropping, and optimization for seamless integration and efficiency.
The InstantID Source Prepare Settings (JPS) node is designed to streamline the preparation of image sources for further processing within the JPS framework. This node is particularly useful for AI artists who need to ensure their images are correctly formatted and optimized before applying various transformations or analyses. By leveraging this node, you can automate the resizing, cropping, and other preparatory steps, ensuring consistency and saving time. The node's primary goal is to facilitate the seamless integration of image sources into your workflow, enhancing efficiency and maintaining high-quality outputs.
This parameter accepts a BASIC_PIPE
type input, which encapsulates the settings required for preparing the image. The imageprepare_settings
parameter includes various configurations such as resizing dimensions, cropping values, interpolation methods, and more. These settings collectively determine how the image will be processed and prepared for subsequent steps. By adjusting these settings, you can control the final appearance and quality of the image, ensuring it meets the specific requirements of your project.
This output parameter specifies the dimensions to which the image should be resized. It is an integer value that determines the target size, ensuring the image fits the desired resolution.
This integer output parameter indicates the horizontal offset applied to the image. It helps in adjusting the image's position horizontally during the preparation process.
This integer output parameter indicates the vertical offset applied to the image. It helps in adjusting the image's position vertically during the preparation process.
This integer output parameter specifies the number of pixels to be cropped from the left side of the image. It is useful for removing unwanted parts of the image.
This integer output parameter specifies the number of pixels to be cropped from the right side of the image. It is useful for removing unwanted parts of the image.
This integer output parameter specifies the number of pixels to be cropped from the top of the image. It is useful for removing unwanted parts of the image.
This integer output parameter specifies the number of pixels to be cropped from the bottom of the image. It is useful for removing unwanted parts of the image.
This output parameter defines the interpolation method used for resizing the image. It can take values such as lanczos
, nearest
, bilinear
, bicubic
, area
, and nearest-exact
. The choice of interpolation method affects the quality and smoothness of the resized image.
This float output parameter indicates the level of sharpening applied to the image. It enhances the image's details and edges, making it appear clearer and more defined.
This output parameter specifies whether the image should be flipped and along which axis. It can take values such as No
, X-Axis
, and Y-Axis
, allowing you to mirror the image horizontally or vertically.
imageprepare_settings
parameter is correctly configured to match the desired output dimensions and quality. This will help in maintaining consistency across your images.lanczos
is often preferred for high-quality resizing, while nearest
can be useful for maintaining hard edges in pixel art.imageprepare_settings
parameter received an invalid or improperly formatted input.imageprepare_settings
is a valid BASIC_PIPE
type and contains all necessary configuration settings.lanczos
, nearest
, bilinear
, bicubic
, area
, or nearest-exact
. Adjust the setting accordingly.© Copyright 2024 RunComfy. All Rights Reserved.