« Späť na University of Vienna - OMILAB

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

Kombinovaný pohľad Plochý pohľad Stromový pohľad
Témy [ Predchádzajúci | Ďalej ]
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
Odpoveď
20.9.2018 7:59 ako reakcia na 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.