ComfyUI Node: Nuke Crop

Class Name

NukeCrop

Category
Nuke/Transform
Author
sumitchatterjee13 (Account age: 2375days)
Extension
Nuke Nodes for ComfyUI
Latest Updated
2025-12-08
Github Stars
0.03K

How to Install Nuke Nodes for ComfyUI

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

Nuke Crop Description

Versatile image cropping tool with soft edges for precise selection and seamless compositing in Nuke.

Nuke Crop:

The NukeCrop node is a versatile tool designed to precisely crop images within the Nuke compositing environment. Its primary function is to allow you to define specific areas of an image to retain while discarding the rest, which is particularly useful for focusing on a particular section of an image or for preparing images for further processing. One of the standout features of NukeCrop is its ability to apply soft edges to the cropped area, providing a smooth transition between the cropped and uncropped regions. This can be especially beneficial in creating seamless composites or when integrating images into different backgrounds. The node also offers flexibility in resizing the cropped area, either by maintaining the original format or by cropping to a specific size, making it a powerful tool for both creative and technical workflows.

Nuke Crop Input Parameters:

image

This parameter represents the input image that you want to crop. It is the source material upon which the cropping operation will be performed.

left

This parameter defines the left boundary of the crop area as a float value between 0.0 and 1.0, with a default of 0.0. It determines how much of the image will be cropped from the left side, where 0.0 means no cropping and 1.0 means the entire width is cropped from the left.

This parameter sets the right boundary of the crop area as a float value between 0.0 and 1.0, with a default of 1.0. It specifies how much of the image will be retained from the right side, where 0.0 means the entire width is cropped from the right and 1.0 means no cropping.

top

This parameter specifies the top boundary of the crop area as a float value between 0.0 and 1.0, with a default of 0.0. It controls how much of the image will be cropped from the top, where 0.0 means no cropping and 1.0 means the entire height is cropped from the top.

bottom

This parameter determines the bottom boundary of the crop area as a float value between 0.0 and 1.0, with a default of 1.0. It indicates how much of the image will be retained from the bottom, where 0.0 means the entire height is cropped from the bottom and 1.0 means no cropping.

softness

This parameter allows you to apply a soft edge to the cropped area, with a float value ranging from 0.0 to 0.1 and a default of 0.0. A higher value results in a softer transition between the cropped and uncropped areas, which can help blend the image more naturally into different backgrounds.

resize

This parameter offers two options: "crop" and "format," with "crop" as the default. Choosing "crop" will resize the image to the cropped area, while "format" will maintain the original image format, adjusting the cropped area to fit within it.

Nuke Crop Output Parameters:

IMAGE

The output is the cropped image, which reflects the adjustments made based on the input parameters. This image can be used for further processing or compositing, and it will have the specified crop and softness applied, providing a refined and focused visual result.

Nuke Crop Usage Tips:

  • To achieve a smooth transition between the cropped and uncropped areas, adjust the softness parameter to a higher value, especially when integrating the image into a new background.
  • Use the resize option to maintain the original image format if you need to ensure consistency in dimensions across multiple images.
  • Experiment with different left, right, top, and bottom values to precisely define the area of interest in your image, allowing for creative cropping that highlights specific elements.

Nuke Crop Common Errors and Solutions:

"Invalid crop boundaries"

  • Explanation: This error occurs when the left, right, top, or bottom parameters are set in a way that results in an invalid crop area, such as overlapping boundaries.
  • Solution: Ensure that the left value is less than the right value and the top value is less than the bottom value to define a valid crop area.

"Softness value out of range"

  • Explanation: This error indicates that the softness parameter has been set outside the allowable range of 0.0 to 0.1. - Solution: Adjust the softness parameter to fall within the specified range to apply the desired soft edge effect.

"Unsupported resize option"

  • Explanation: This error occurs when an invalid option is selected for the resize parameter.
  • Solution: Choose either "crop" or "format" for the resize parameter to ensure proper functionality.

Nuke Crop Related Nodes

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