Where to find width and height of asset.
Where can I reliably find the width and height of an asset?
In metadata.format
I can't find width and height.
In metadata.stream[0]
I can find width
and height
. Is this always the same? It also seems to be the with and height before the encoding. (In my case 1080x1920
)
I'll need this to correctly size the drawing canvas.