Visit ComfyUI Online for ready-to-use ComfyUI environment
Save images with embedded metadata for AI artists, supporting PNG and JPEG formats with robust error handling.
The Save image with extra metadata [Crystools] node is designed to save images while embedding additional metadata into the image file. This node is particularly useful for AI artists who want to preserve detailed information about their creative process, such as prompts and other custom metadata, directly within the image file. By doing so, it ensures that all relevant data is stored in a single file, making it easier to manage and share. The node supports both PNG and JPEG formats, handling metadata differently based on the image type. It also provides robust error handling to ensure that metadata is correctly parsed and embedded, even if the input data is not perfectly formatted.
This parameter represents the image to be saved. It can be in various formats, such as PNG or JPEG. The image is the primary input, and its content will be preserved while additional metadata is embedded.
This parameter specifies the prefix for the filename under which the image will be saved. It helps in organizing and identifying saved images by providing a custom naming convention.
This parameter contains the prompt or description associated with the image. If provided, it will be embedded into the image metadata, allowing you to retain the context or inspiration behind the image.
This parameter is a dictionary containing additional metadata to be embedded into the image. It can include any custom information you want to store within the image file. If not provided, no extra metadata will be added.
This boolean parameter determines whether the workflow information should be included in the metadata. If set to True, the workflow details will be copied and embedded into the image metadata.
This parameter allows you to provide extra metadata in JSON format. It can include any additional information you want to embed into the image. If the JSON is not correctly formatted, it will be stored as a string.
This parameter contains the metadata extracted from the saved image. It includes all the embedded information, such as prompts and custom metadata, allowing you to verify that the data has been correctly saved.
This parameter provides a dictionary with UI-related information, including the saved image details. It helps in displaying the saved image and its metadata within the user interface.
metadata_extra
parameter is correctly formatted in JSON to avoid errors during parsing.filename_prefix
parameter to organize your saved images systematically, making it easier to locate and manage them later.with_workflow
parameter to True if you want to retain detailed workflow information within the image metadata, which can be useful for complex projects.metadata_extra
parameter is not correctly formatted in JSON.metadata_extra
parameter is a valid JSON string. Use online JSON validators to check the format before inputting it into the node.© Copyright 2024 RunComfy. All Rights Reserved.