Get file dimensions (width/height)

Highlighted
First-time Contributor

Get file dimensions (width/height)

Hi,

 

Is there a way to get the file dimensions using BoxSDK? I can see that we can get the file size, but don't seem to find anything for the dimensions.

 

Thanks.

Tags (1)
1 REPLY 1
Box Employee

Re: Get file dimensions (width/height)

Hi @cycero,

 

Unfortunately there isn't a way to capture the width / height of a file directly from the file response from the APIs, which is what the SDKs are exposing. You'll probably have to download the file and then pull the details once the file is local.

 

- Jon