Visit ComfyUI Online for ready-to-use ComfyUI environment
Extracts detailed image information for AI artists, including dimensions, transparency, and orientation, from tensor and byte-based inputs.
The Bjornulf_ImageDetails
node is designed to extract and present detailed information about images, making it an invaluable tool for AI artists who need to understand the characteristics of their visual inputs. This node processes images to determine their dimensions, transparency, orientation, and more, providing a comprehensive overview of each image's properties. By analyzing both tensor and byte-based image inputs, it ensures compatibility with a wide range of image formats and sources. The node's ability to summarize these details into a cohesive string makes it easy for users to quickly grasp the essential attributes of their images, aiding in tasks such as image selection, categorization, and further processing.
The image_input
parameter is the primary input for the node, accepting either a tensor or a bytes-like object representing the image(s) to be analyzed. When provided as a tensor, the image data should be in a format compatible with PyTorch, typically in a batch format with dimensions indicating batch size, channels, height, and width. For bytes-like objects, the input should be a list of image data in byte format. This parameter is crucial as it determines the source and format of the image data that the node will process. There are no explicit minimum, maximum, or default values, but the input must be a valid image representation in one of the supported formats.
This output parameter provides a list of the widths of the processed images. It is essential for understanding the horizontal dimensions of each image, which can be critical for layout and design considerations.
Similar to all_widths
, this parameter outputs a list of the heights of the images. Knowing the vertical dimensions helps in assessing the overall size and aspect ratio of the images.
This parameter outputs a list indicating whether each image contains transparency. This information is vital for tasks that require compositing or layering images, as transparency can affect how images are combined.
The all_orientations
parameter provides a list of the orientations of the images, categorizing them as landscape, portrait, or square. This classification helps in organizing images based on their visual layout.
This output is a single string that combines all the detailed information about the images, including type, dimensions, transparency, mode, and orientation. It serves as a quick reference for users to understand the key attributes of their images in one glance.
combined_details
output to quickly review the essential characteristics of your images, which can be particularly useful when working with large batches of images.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.