Image Attributes

Extract image dimensions as a Size value

utility 1 credit

Image Attributes

Extract image dimensions as a Size value

Overview

The Image Attributes node extracts the width and height of an image and outputs them as a Size value. Use this to get dimensions for calculations, dynamic positioning, or conditional logic in your pipeline.

Usage Tips

  • Connect to Size Maths for dimension calculations
  • Useful for centering elements: (width - element_width) / 2
  • Get dimensions before resize to calculate percentage changes
  • Output is a Size type, not an image

Common Pairings

  • Size Maths - Calculate positions or scaled dimensions
  • Insert Into - Use calculated positions for precise placement
  • Resize Percent - Calculate resize percentages based on original size

Gotchas

  • Output is Size (width, height), not an image
  • Dimensions are in pixels
  • Must have an image input - can’t work on Size values

Technical Reference

Inputs

NameTypeRequiredDescription
inputImageYesImage to get attributes from

Outputs

NameTypeDescription
outputSizeImage dimensions (width, height)