ComfyUI > Nodes > ComfyUI-UniversalToolkit > Image Remove Alpha (UTK)

ComfyUI Node: Image Remove Alpha (UTK)

Class Name

ImageRemoveAlpha_UTK

Category
UniversalToolkit/Image
Author
whmc76 (Account age: 1110days)
Extension
ComfyUI-UniversalToolkit
Latest Updated
2026-03-16
Github Stars
0.07K

How to Install ComfyUI-UniversalToolkit

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

Image Remove Alpha (UTK) Description

Removes alpha channel from RGBA images, converting them to RGB and filling transparency with a chosen color.

Image Remove Alpha (UTK):

The ImageRemoveAlpha_UTK node is designed to process images by removing the alpha channel from RGBA images, effectively converting them into RGB format. This node is particularly useful when you need to prepare images for environments or applications that do not support transparency. It offers the flexibility to fill the transparent areas with a specified background color, ensuring that the resulting image maintains a cohesive appearance. By providing an option to handle transparency, this node allows you to seamlessly integrate images into various projects without worrying about unsupported alpha channels.

Image Remove Alpha (UTK) Input Parameters:

RGBA_image

This parameter represents the input image that contains an alpha channel. The node processes this image to remove the alpha channel, converting it into an RGB image. The RGBA image should be in a format that supports transparency, such as PNG. The quality and characteristics of the input image will directly affect the output, as the node's primary function is to modify the image's transparency.

fill_background

This boolean parameter determines whether the transparent areas of the image should be filled with a background color. If set to True, the node will fill the transparent areas with the specified background_color. If set to False, the transparent areas will be converted to white by default. This parameter is crucial for ensuring that the resulting image appears as intended, especially when transparency is not supported in the target environment.

background_color

This parameter specifies the color used to fill the transparent areas of the image when fill_background is set to True. It accepts color values in a format such as hexadecimal (e.g., #FFFFFF for white). If no color is specified, the node defaults to using white for the transparent areas. Choosing the right background color can help maintain the visual integrity of the image when transparency is removed.

mask

An optional parameter that allows you to provide a mask to define specific areas of the image where the alpha channel should be removed. If a mask is provided, it will be used to determine which parts of the image should retain transparency and which should be filled with the background color. This parameter is useful for more advanced image processing tasks where selective transparency removal is required.

Image Remove Alpha (UTK) Output Parameters:

RGBA_image

The output is an image with the alpha channel removed, resulting in an RGB image. If fill_background is enabled, the transparent areas will be filled with the specified background_color. This output is essential for applications that require images without transparency, ensuring compatibility and visual consistency across different platforms.

Image Remove Alpha (UTK) Usage Tips:

  • To maintain the original look of an image while removing transparency, choose a background_color that closely matches the dominant color in the image.
  • Use the mask parameter to selectively remove transparency from specific areas of the image, allowing for more precise control over the final output.

Image Remove Alpha (UTK) Common Errors and Solutions:

Error: Image Remove Alpha (UTK) skipped, because the input image is not RGBA and mask is None.

  • Explanation: This error occurs when the input image does not have an alpha channel, and no mask is provided to guide the transparency removal process.
  • Solution: Ensure that the input image is in RGBA format or provide a valid mask to specify the areas where transparency should be removed.

Image Remove Alpha (UTK) Related Nodes

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

Image Remove Alpha (UTK)