preloading an mages dimensions

Phil Davis revdev at
Thu Dec 28 03:44:30 EST 2017

What platform?

On a Mac, you can use sips. It's included with the OS. Example - typed 
on the command line:

    sips -g pixelHeight -g pixelWidth /Users/pdslabs/Desktop/IMG_4411.jpg

The output:

       pixelHeight: 750
       pixelWidth: 1000

Phil Davis

On 12/27/17 9:02 PM, Nicolas Cueto via use-livecode wrote:
> Before setting the filename of an image object, how do I get the original
> dimensions of an image (jpg)?
> Thank you.
> --
> Nicolas Cueto
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Phil Davis

More information about the Use-livecode mailing list