ComfyUI  >  Nodes  >  ComfyUI-Hangover-Nodes >  Save Image w/o Metadata

ComfyUI Node: Save Image w/o Metadata

Class Name

Save Image w_o Metadata

Category
Hangover
Author
Hangover3832 (Account age: 640 days)
Extension
ComfyUI-Hangover-Nodes
Latest Updated
6/14/2024
Github Stars
0.0K

How to Install ComfyUI-Hangover-Nodes

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

Save Image w/o Metadata Description

Versatile image saving tool with metadata control for ComfyUI environment.

Save Image w/o Metadata:

The Save Image w/o Metadata node is designed to provide flexibility in saving images generated within the ComfyUI environment. This node allows you to save images with or without additional metadata, such as prompts and extra PNG information. It is particularly useful for AI artists who want to manage the metadata associated with their images, either for privacy reasons or to streamline their workflow. By offering options to include or exclude metadata and to save or not save the image, this node provides a versatile tool for handling image outputs according to your specific needs.

Save Image w/o Metadata Input Parameters:

images

This parameter accepts the images you want to process. It is a required input and should be of type IMAGE. The images provided here will be the ones saved by the node.

filename_prefix

This parameter allows you to specify a prefix for the filenames of the saved images. It is a string input with a default value of ComfyUI. The prefix helps in organizing and identifying the saved images, especially when dealing with multiple batches.

save_image

This boolean parameter determines whether the image should be saved or not. The default value is True. If set to False, the image will not be saved, and a temporary directory will be used instead.

include_workflow

This boolean parameter controls whether to include additional metadata such as prompts and extra PNG information in the saved image. The default value is True. If set to False, the metadata will be excluded, resulting in a cleaner image file.

prompt

This hidden parameter is used to pass the prompt metadata to the image. It is not visible in the input settings but is utilized internally when include_workflow is set to True.

extra_pnginfo

This hidden parameter is used to pass extra PNG information metadata to the image. Similar to the prompt parameter, it is not visible in the input settings but is used internally when include_workflow is set to True.

Save Image w/o Metadata Output Parameters:

This node does not produce any direct output parameters. Its primary function is to save images to a specified location with or without metadata based on the input parameters.

Save Image w/o Metadata Usage Tips:

  • To save images without any metadata, set the include_workflow parameter to False. This is useful for creating clean image files without any additional information.
  • Use the filename_prefix parameter to organize your saved images effectively. This can help in identifying and categorizing images, especially when working with multiple projects or batches.
  • If you do not want to save the image but still want to process it, set the save_image parameter to False. This will use a temporary directory for the image, allowing you to preview or further process it without saving.

Save Image w/o Metadata Common Errors and Solutions:

"Error: Invalid image input"

  • Explanation: This error occurs when the images parameter does not receive a valid image input.
  • Solution: Ensure that the images parameter is provided with a valid image of type IMAGE.

"Error: Failed to save image"

  • Explanation: This error can occur if there is an issue with the file path or permissions when attempting to save the image.
  • Solution: Check the file path and ensure that you have the necessary permissions to write to the specified directory. Also, verify that the filename_prefix is valid and does not contain any illegal characters.

"Error: Metadata inclusion failed"

  • Explanation: This error occurs when there is an issue including the metadata in the image file.
  • Solution: Ensure that the include_workflow parameter is set correctly and that the prompt and extra_pnginfo parameters are valid. If the problem persists, try setting include_workflow to False to exclude metadata.

Save Image w/o Metadata Related Nodes

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