Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > Rebalance-Pack > Uncrop Image

ComfyUI Node: Uncrop Image

Class Name

UncropImage

Category
Rebalance-Pack/image
Author
nova452 (Account age: 1390days)
Extension
Rebalance-Pack
Latest Updated
2026-07-30
Github Stars
0.47K

How to Install Rebalance-Pack

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

Uncrop Image Description

Reverse cropping effects on images, restoring original dimensions seamlessly.

Uncrop Image:

The UncropImage node is designed to reverse the effects of a cropping operation on an image, effectively restoring it to its original dimensions. This node is particularly useful when you have a cropped image and need to integrate it back into its original context, such as when working with image masks or when you need to maintain the original composition of an image. By using this node, you can seamlessly blend the cropped section back into the full image, ensuring that any modifications or enhancements made to the cropped portion are preserved in the larger context. This capability is essential for tasks that require maintaining the integrity of the original image while allowing for localized edits.

Uncrop Image Input Parameters:

original_image

The original_image parameter represents the full-sized image from which a section was previously cropped. This input is crucial as it provides the reference for restoring the cropped image to its original dimensions. The quality and resolution of the uncropped image depend on this input, so it should be the same image from which the cropped section was derived.

original_mask

The original_mask parameter is used to define the area of the original image that corresponds to the cropped section. This mask helps in accurately placing the cropped image back into its original position within the full image. It ensures that only the relevant portion of the original image is affected during the uncropping process.

cropped_image

The cropped_image parameter is the section of the original image that was previously cropped and possibly modified. This input is essential as it contains the changes or enhancements that need to be integrated back into the original image. The node uses this parameter to determine what part of the original image needs to be replaced or updated.

Uncrop Image Output Parameters:

uncropped_image

The uncropped_image output is the result of the uncropping process, where the cropped image is seamlessly integrated back into the original image. This output maintains the original dimensions and composition of the image, with any modifications from the cropped section accurately reflected. It is crucial for ensuring that the final image retains the intended edits while preserving the overall context.

Uncrop Image Usage Tips:

  • Ensure that the original_image and cropped_image are derived from the same source to maintain consistency in resolution and quality.
  • Use a precise original_mask to accurately define the area of integration, which helps in achieving a seamless blend between the cropped and original sections.
  • Verify that the cropped_image has been modified or enhanced as needed before using the UncropImage node to ensure that the final output reflects the desired changes.

Uncrop Image Common Errors and Solutions:

Mismatched Dimensions Error

  • Explanation: This error occurs when the dimensions of the cropped_image do not match the area defined by the original_mask in the original_image.
  • Solution: Ensure that the cropped_image is correctly aligned with the original_mask and that both are derived from the same section of the original_image.

Missing Original Image Error

  • Explanation: This error arises when the original_image input is not provided or is incorrect, preventing the node from restoring the cropped section.
  • Solution: Double-check that the original_image is correctly loaded and corresponds to the source of the cropped_image.

Incorrect Mask Application Error

  • Explanation: This error happens when the original_mask does not accurately represent the cropped area, leading to improper integration.
  • Solution: Review and adjust the original_mask to ensure it precisely covers the area of the original_image that corresponds to the cropped_image.

Uncrop Image Related Nodes

Go back to the extension to check out more related nodes.
Rebalance-Pack
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.

Uncrop Image