ComfyUI > Nodes > Comfy-Pack > Image Output

ComfyUI Node: Image Output

Class Name

CPackOutputImage

Category
ComfyPack/output
Author
Frost Ming (Account age: 2167days)
Extension
Comfy-Pack
Latest Updated
2025-03-07
Github Stars
0.12K

How to Install Comfy-Pack

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

Image Output Description

Streamlined image output handling for ComfyUI, ideal for AI artists, batch processing, and metadata preservation.

Image Output:

The CPackOutputImage node is designed to handle the output of images within the ComfyUI framework, providing a streamlined process for saving and managing image data. This node is particularly useful for AI artists who need to efficiently store and organize their generated images. It processes images by converting them into a format suitable for storage, ensuring that any associated metadata, such as prompts or additional information, is preserved. The node is capable of handling multiple images at once, making it ideal for batch processing tasks. By utilizing this node, you can ensure that your image outputs are consistently formatted and stored in a designated directory, facilitating easy access and further manipulation if needed.

Image Output Input Parameters:

images

The images parameter is a required input that specifies the images you wish to save. It accepts a list of images in the form of tensors, which are typically generated or processed by other nodes within the ComfyUI framework. This parameter is crucial as it determines the content that will be outputted by the node. The images should be in a format that the node can process, typically as floating-point arrays normalized between 0 and 1.

filename_prefix

The filename_prefix parameter allows you to specify a prefix for the filenames of the saved images. By default, this is set to "cpack_output_", but you can customize it to suit your organizational needs. This prefix is appended to the filenames, helping you categorize and identify the images based on their source or purpose. It is particularly useful when dealing with large batches of images, as it provides a systematic way to label and retrieve them later.

prompt

The prompt parameter is a hidden input that can be used to attach a textual description or prompt to the saved images. This is particularly useful for AI artists who want to keep track of the creative prompts or instructions that led to the generation of each image. The prompt is stored as metadata within the image file, allowing for easy reference and documentation.

extra_pnginfo

The extra_pnginfo parameter is another hidden input that allows you to include additional metadata in the saved image files. This can be any extra information you deem necessary, such as settings, parameters, or contextual data related to the image generation process. Like the prompt, this metadata is embedded within the image file, ensuring that all relevant information is preserved alongside the visual content.

Image Output Output Parameters:

This node does not have explicit output parameters in the traditional sense, as its primary function is to save images to a specified directory. However, the process results in a structured output in the form of saved image files, each accompanied by any specified metadata. The node returns a dictionary containing information about the saved images, including filenames and subfolder paths, which can be used for further processing or reference within the ComfyUI framework.

Image Output Usage Tips:

  • Ensure that your images are properly formatted and normalized before passing them to the node to avoid any issues during the saving process.
  • Utilize the filename_prefix parameter to organize your images systematically, especially when dealing with large batches, to facilitate easy retrieval and management.
  • Take advantage of the prompt and extra_pnginfo parameters to embed useful metadata within your images, which can be invaluable for documentation and future reference.

Image Output Common Errors and Solutions:

Image format not supported

  • Explanation: The node encountered an image format that it cannot process, such as MPO.
  • Solution: Convert your images to a supported format like PNG or JPEG before using the node.

Image size mismatch

  • Explanation: The node requires all images in a batch to have the same dimensions, but it encountered images of varying sizes.
  • Solution: Ensure all images are resized to the same dimensions before passing them to the node.

Metadata not saved

  • Explanation: The metadata specified in prompt or extra_pnginfo was not embedded in the image file.
  • Solution: Double-check that the metadata is correctly formatted and that the image format supports metadata embedding, such as PNG.

Image Output Related Nodes

Go back to the extension to check out more related nodes.
Comfy-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 Playground, enabling artists to harness the latest AI tools to create incredible art.