ComfyUI > Nodes > InsertAnything-ComfyUI-official > InsertAnything - Crop Back (No Scaling)

ComfyUI Node: InsertAnything - Crop Back (No Scaling)

Class Name

CropBackNoScaling

Category
None
Author
mo230761 (Account age: 1635days)
Extension
InsertAnything-ComfyUI-official
Latest Updated
2025-07-16
Github Stars
0.03K

How to Install InsertAnything-ComfyUI-official

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

InsertAnything - Crop Back (No Scaling) Description

The `CropBackNoScaling` node crops images without scaling, preserving resolution and aspect ratio.

InsertAnything - Crop Back (No Scaling):

The CropBackNoScaling node is designed to handle image cropping tasks without applying any scaling transformations. This node is particularly useful when you need to extract a specific region from an image while maintaining its original resolution and aspect ratio. By focusing solely on cropping, it ensures that the integrity of the image's pixel data is preserved, which is crucial for tasks that require precise image manipulation or analysis. This node is beneficial for artists and designers who want to isolate parts of an image for further processing or integration into larger compositions without altering the image's scale.

InsertAnything - Crop Back (No Scaling) Input Parameters:

raw_image

The raw_image parameter represents the original image from which a specific region will be cropped. This input is crucial as it serves as the source material for the cropping operation. The quality and resolution of the raw_image directly impact the final cropped output, so it is important to use a high-quality image to ensure the best results.

old_tar_image

The old_tar_image parameter is used as a reference image to guide the cropping process. It helps in determining the exact region to be cropped from the raw_image. This parameter is essential when you want to match the cropped region with a specific area in another image, ensuring consistency across different images or layers.

tar_box_yyxx_crop

The tar_box_yyxx_crop parameter defines the coordinates and dimensions of the cropping box. It specifies the starting point (y, x) and the size (height, width) of the region to be extracted from the raw_image. This parameter is critical for accurately selecting the desired portion of the image, allowing for precise control over the cropping process.

InsertAnything - Crop Back (No Scaling) Output Parameters:

cropped_image

The cropped_image output is the result of the cropping operation, providing the extracted region from the raw_image based on the specified parameters. This output retains the original resolution and aspect ratio of the selected region, making it ideal for further processing or integration into other projects. The cropped_image is essential for tasks that require isolated image sections without any scaling alterations.

InsertAnything - Crop Back (No Scaling) Usage Tips:

  • Ensure that the raw_image is of high quality to maintain the integrity of the cropped output.
  • Use the old_tar_image parameter to guide the cropping process when consistency with another image is required.
  • Carefully define the tar_box_yyxx_crop coordinates to accurately select the desired region for cropping.

InsertAnything - Crop Back (No Scaling) Common Errors and Solutions:

InvalidCoordinatesError

  • Explanation: This error occurs when the specified coordinates in tar_box_yyxx_crop exceed the dimensions of the raw_image.
  • Solution: Verify that the coordinates and dimensions specified in tar_box_yyxx_crop are within the bounds of the raw_image. Adjust the values to ensure they fit within the image's dimensions.

MissingImageInputError

  • Explanation: This error is raised when the raw_image or old_tar_image input is not provided.
  • Solution: Ensure that both raw_image and old_tar_image inputs are correctly supplied to the node. Double-check the input connections and provide the necessary images.

InsertAnything - Crop Back (No Scaling) Related Nodes

Go back to the extension to check out more related nodes.
InsertAnything-ComfyUI-official
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.