Skip to content

Read Image Dimensions Node

Image/Content

Reads width, height, format and EXIF orientation from an image file's header without decoding its pixels. Only the leading bytes the header needs are fetched, so it costs a fraction of Read Image + Get Dimensions on large photos.

read_image_dimensionsmedia
Inputs3
Outputs5
Security exposure9/10
Packagemedia

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
9/10High
PrivacyPotential sensitivity of processed data.
9/10High
PerformanceRuntime or resource pressure.
10/10High
GovernancePolicy, audit, or compliance impact.
9/10High
ReliabilityOperational stability considerations.
9/10High
CostExternal or compute cost impact.
10/10High

Input Pins

3

Input

Execution
exec_in

Initiate Execution

Path

Struct
path

Image file to inspect

FlowPathFlowPath3 fields
pathstringrequired
store_refstringrequired
cache_store_refstring | null
Schema enforced

Apply Exif Orientation

Boolean
apply_exif_orientation

Report the size of the upright image, swapping width and height when the EXIF orientation turns it by 90 degrees — the values Read Image + Get Dimensions return

Default true

Output Pins

5

Output

Execution
exec_out

Done with the Execution

Width

Integer
width

Image width in pixels

Height

Integer
height

Image height in pixels

Format

String
format

Image format in lowercase, e.g. jpeg, png, webp or tiff

Orientation

Integer
orientation

EXIF orientation tag (1–8); 1 when the file carries none

Node Info

Internal name
read_image_dimensions
Category
Image/Content