# draw/image-dims
Get image dimensions as `%{ width N height N }`. Safe from any thread — uses the vendored image codecs, no GL.
## Syntax
[draw/image-dims $path]
## Parameters
- `$path` — string path to the image file
## Examples
set dims [draw/image-dims "assets/logo.png"] echo $dims~width "x" $dims~height
## Returns
Map `%{ width N height N }`, or `nil` if the file cannot be parsed.
## See Also
`draw/image`, `draw/image-preview`, `image/load`