ComfyUI  >  Nodes  >  ComfyUI-FaceChain >  FC CropBottom

ComfyUI Node: FC CropBottom

Class Name

FC CropBottom

Category
facechain/crop
Author
THtianhao (Account age: 3700 days)
Extension
ComfyUI-FaceChain
Latest Updated
6/25/2024
Github Stars
0.1K

How to Install ComfyUI-FaceChain

Install this extension via the ComfyUI Manager by searching for  ComfyUI-FaceChain
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-FaceChain 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

FC CropBottom Description

Crop bottom of image to specified width, refine composition by excluding lower part, control cropped area width.

FC CropBottom:

The FC CropBottom node is designed to crop the bottom part of an image to a specified width. This node is particularly useful when you need to focus on a specific area of an image, such as the upper portion, by removing the lower part. It helps in refining the composition of your image by allowing you to control the width of the cropped area, ensuring that the resulting image meets your desired dimensions. This can be especially beneficial in scenarios where the bottom part of the image contains unnecessary or distracting elements that you wish to exclude.

FC CropBottom Input Parameters:

source_image

This parameter represents the input image that you want to crop. The image should be provided in a tensor format, which is a common format used in image processing tasks. The source image is the primary input on which the cropping operation will be performed.

width

This parameter specifies the width of the cropped image. It determines how much of the bottom part of the image will be removed. The width is an integer value with a default of 512 pixels, and it can range from a minimum of 0 to a maximum of 2048 pixels, with a step size of 1 pixel. Adjusting this parameter allows you to control the extent of the cropping, ensuring that the resulting image has the desired width.

FC CropBottom Output Parameters:

IMAGE

The output of this node is the cropped image, returned in a tensor format. This image will have the bottom part removed according to the specified width, resulting in a new image that focuses on the upper portion. The output image retains the original quality and format, making it ready for further processing or use in your projects.

FC CropBottom Usage Tips:

  • To achieve a balanced composition, experiment with different width values to find the optimal crop that enhances the focus on the desired part of the image.
  • Use this node in combination with other cropping or image processing nodes to create complex image transformations and achieve your artistic vision.
  • Ensure that the source image is of high resolution to maintain quality after cropping, especially if you plan to use the cropped image in larger formats.

FC CropBottom Common Errors and Solutions:

"Invalid width value"

  • Explanation: The width parameter is set to a value outside the allowed range (0 to 2048 pixels).
  • Solution: Adjust the width parameter to a value within the specified range to ensure proper cropping.

"Source image not provided"

  • Explanation: The source_image parameter is missing or not correctly specified.
  • Solution: Ensure that you provide a valid image tensor as the source_image input to the node.

"Error in image tensor conversion"

  • Explanation: There was an issue converting the image tensor to the required format for cropping.
  • Solution: Verify that the input image tensor is correctly formatted and compatible with the node's requirements. If necessary, preprocess the image to match the expected format.

FC CropBottom Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-FaceChain
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.