Visit ComfyUI Online for ready-to-use ComfyUI environment
Load images with embedded metadata for AI artists, extracting and processing information for enhanced workflows.
The "Load image with metadata [Crystools]" node is designed to load an image along with its associated metadata, making it a powerful tool for AI artists who need to work with images that contain embedded information. This node not only loads the image but also extracts and processes metadata such as prompts and additional information stored within the image file. This can be particularly useful for workflows that require the use of metadata for further processing or analysis, ensuring that all relevant information is preserved and accessible.
The image
parameter specifies the path to the image file that you want to load. This parameter is crucial as it directs the node to the correct file from which to extract both the image and its metadata. Ensure that the file path is accurate and that the file exists to avoid errors during execution.
The image
output is the loaded image converted into a format suitable for further processing. The image is transformed into a tensor format, normalized to a range of 0 to 1, which is ideal for machine learning models and other image processing tasks.
The mask
output is a tensor representing the alpha channel of the image, if it exists. This mask can be used for various purposes, such as masking out certain parts of the image during processing. If the image does not have an alpha channel, a default mask of zeros is provided.
The prompt
output contains the prompt metadata extracted from the image. This is useful for applications that need to utilize or display the prompt information embedded within the image file.
The metadata
output is a dictionary containing all the additional metadata extracted from the image. This can include various types of information stored within the image file, providing a comprehensive set of data for further use.
prompt
and metadata
outputs to access and use the embedded information within the image for more informed processing and analysis.mask
output to handle transparency effectively in your workflows.<image_path>
<key>
as json, trying as string© Copyright 2024 RunComfy. All Rights Reserved.