« Tilbake til University of Vienna - OMILAB

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

Kombinasjonsvisning Flat visning Trådet visning
Tråder [ Forrige | Neste ]
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
Svar
20.09.18 07:59 Postet som et svar til melding #{1} av {2}
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.