Reading Aspect Ratio from metadata

Hey everybody!

Is there a way to acces metadata from EXR and DPX files?
I like to read the Aspect Ratio from files and pass it to a resize.
Or better yet, if Draft just respects the Aspect Ratio from the image file.

Is there a way to do this?

Cheers,

David

Hey David,

You’ve probably come across it by now but Resize should respect the aspect ratio unless you choose type=‘distort’.

I can’t tell how to fetch the image dimensions using just Draft though, you might have better luck with ImageMagick - though I’ve never done much with that.

Privacy | Site terms | Cookie preferences