ComfyUI > Nodes > Bjornulf_custom_nodes > πŸ–ΌπŸ” Image Details

ComfyUI Node: πŸ–ΌπŸ” Image Details

Class Name

Bjornulf_ImageDetails

Category
Bjornulf
Author
justUmen (Account age: 3046days)
Extension
Bjornulf_custom_nodes
Latest Updated
2025-02-28
Github Stars
0.2K

How to Install Bjornulf_custom_nodes

Install this extension via the ComfyUI Manager by searching for Bjornulf_custom_nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Bjornulf_custom_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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

πŸ–ΌπŸ” Image Details Description

Extracts detailed image information for AI artists, including dimensions, transparency, and orientation, from tensor and byte-based inputs.

πŸ–ΌπŸ” Image Details:

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.

πŸ–ΌπŸ” Image Details Input Parameters:

image_input

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.

πŸ–ΌπŸ” Image Details Output Parameters:

all_widths

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.

all_heights

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.

all_transparencies

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.

all_orientations

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.

combined_details

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.

πŸ–ΌπŸ” Image Details Usage Tips:

  • Ensure that your image inputs are in the correct format (tensor or bytes) to avoid processing errors and to make full use of the node's capabilities.
  • Use the combined_details output to quickly review the essential characteristics of your images, which can be particularly useful when working with large batches of images.

πŸ–ΌπŸ” Image Details Common Errors and Solutions:

Invalid image file

  • Explanation: This error occurs when the input image file is not recognized or cannot be processed by the node.
  • Solution: Verify that the image file is correctly formatted and accessible. Ensure that the file path is correct and that the image is not corrupted.

Unsupported image format

  • Explanation: The node may not support certain image formats, leading to processing failures.
  • Solution: Convert the image to a supported format such as PNG or JPEG before inputting it into the node.

Tensor shape mismatch

  • Explanation: This error arises when the input tensor does not have the expected dimensions or format.
  • Solution: Ensure that the tensor is in the correct shape, typically (batch, channels, height, width), and adjust the dimensions if necessary.

πŸ–ΌπŸ” Image Details Related Nodes

Go back to the extension to check out more related nodes.
Bjornulf_custom_nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

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.