Hi Ralph,

> Am 17.02.2020 um 22:08 schrieb Ralph DiMola via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> What's the best way to know if I set the filename of an image control and
> the file is either not an image or in an unsupported format? I'm getting
> https links to unknown images so I check images before app deployment.

not sure, but you can check "the result2 after setting the filename.
Will be EMPTY on success.

> After resizing an image is there a way to know the original dimensions? Just
> wondering? I now save the original x/y sizes in properties so I know them
> after a resize.

"the formattedheight of img XYZ" and "the formattedwidth of img xyz" will 
always return
the info about the original dimensions of an image. No need to save this info 
somehow.

> Thanks
> 
> Ralph DiMola

Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


_______________________________________________
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

Reply via email to