« Back to University of Vienna - OMILAB

Can you get the dimentions of an image stored in a file through AdoScript?

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hi

Is there some (hopefully simple) way using AdoScript of getting the width and height of an image that is stored in a file?

Best regards,
Patrik

RE: Can you get the dimentions of an image stored in a file through AdoScri
fread adoscript expressions
Answer
9/20/18 7:59 AM as a reply to Patrik.
Dear Patrik,

One way is to use the FREAD function to read the content of the file. The content then can be stored in a variable and you can use the String functions (e.g. search, bsearch, copy etc.) to search and get the values you need.