ComfyUI > Nodes > ComfyUI Layer Style > LayerUtility: SaveImage Plus

ComfyUI Node: LayerUtility: SaveImage Plus

Class Name

LayerUtility: SaveImagePlus

Category
😺dzNodes/LayerUtility/SystemIO
Author
chflame163 (Account age: 445days)
Extension
ComfyUI Layer Style
Latest Updated
2024-06-24
Github Stars
0.64K

How to Install ComfyUI Layer Style

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

LayerUtility: SaveImage Plus Description

Save images with customization options, timestamps, and JSON workflow data support.

LayerUtility: SaveImage Plus:

The LayerUtility: SaveImagePlus node is designed to save images with enhanced functionality, providing you with a range of options to customize the saving process. This node allows you to specify the file format, quality, and even add metadata or watermarks to your images. It supports saving images in both PNG and JPG formats, with adjustable compression levels and quality settings. Additionally, you can include timestamps in the filenames to ensure uniqueness and prevent overwriting. The node also offers the ability to save workflow data as JSON files, making it easier to manage and reproduce your work. With its comprehensive set of features, SaveImagePlus is an essential tool for AI artists looking to streamline their image-saving process while maintaining high-quality outputs.

LayerUtility: SaveImage Plus Input Parameters:

images

This parameter accepts the images you want to save. It is a required input and should be provided in the IMAGE format.

custom_path

This is an optional string parameter that allows you to specify a custom directory path where the images will be saved. If left empty, the default output directory will be used. The default value is an empty string.

filename_prefix

This string parameter lets you set a prefix for the filenames of the saved images. This can help in organizing and identifying your files. The default value is "comfyui".

timestamp

This parameter allows you to add a timestamp to the filenames. You can choose from "None", "second", or "millisecond". This helps in ensuring that filenames are unique and prevents overwriting. The default value is "None".

format

This parameter lets you choose the file format for saving the images. The available options are "png" and "jpg". This allows you to select the format that best suits your needs.

quality

This integer parameter sets the quality of the saved images, applicable only for JPG format. The value ranges from 10 to 100, with a default value of 80. Higher values result in better quality but larger file sizes.

meta_data

This boolean parameter determines whether to include metadata in the saved images. If set to True, metadata such as prompts and extra information will be added. The default value is False.

blind_watermark

This string parameter allows you to add a blind watermark to the images. You can provide the watermark text, which will be embedded invisibly in the image. The default value is an empty string.

save_workflow_as_json

This boolean parameter specifies whether to save the workflow data as a JSON file along with the image. This can be useful for reproducing the workflow later. The default value is False.

preview

This boolean parameter determines whether to generate a preview of the saved image. If set to True, a preview image will be saved in a temporary directory. The default value is True.

LayerUtility: SaveImage Plus Output Parameters:

None

This node does not produce any direct output parameters. Its primary function is to save images to the specified location with the given settings.

LayerUtility: SaveImage Plus Usage Tips:

  • To ensure your images are saved with unique filenames, use the timestamp parameter to add a timestamp to each filename.
  • If you need to save images in a specific directory, make sure to set the custom_path parameter to your desired path.
  • For high-quality images, especially when using the JPG format, set the quality parameter to a higher value, such as 90 or above.
  • Utilize the meta_data parameter to include important information like prompts and extra details in the saved images, which can be useful for future reference.
  • If you want to add a watermark to your images, provide the watermark text in the blind_watermark parameter.

LayerUtility: SaveImage Plus Common Errors and Solutions:

Error: cannot create custom_path <custom_path>, <error_message>

  • Explanation: This error occurs when the specified custom path cannot be created, possibly due to permission issues or invalid path names.
  • Solution: Ensure that the custom path is valid and that you have the necessary permissions to create directories in the specified location.

Error: unable to create temporary folder

  • Explanation: This error indicates that the node failed to create a temporary folder for saving preview images.
  • Solution: Check if the temporary directory path is valid and that you have the necessary permissions to create directories and files in that location.

Error: unable to create temporary file

  • Explanation: This error occurs when the node is unable to create a temporary file for the preview image.
  • Solution: Ensure that the temporary directory is writable and that there is sufficient disk space available.

Error: skipped, because unable to create temporary folder

  • Explanation: This error suggests that the node skipped the saving process due to an inability to create a temporary folder.
  • Solution: Verify the temporary directory path and permissions, and ensure that there are no conflicts with existing files or directories.

LayerUtility: SaveImage Plus Related Nodes

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