preloading an mages dimensions
Phil Davis
revdev at pdslabs.net
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:
/Users/pdslabs/Desktop/IMG_4411.jpg
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 lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
--
Phil Davis
More information about the use-livecode
mailing list