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@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
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode