I need to save images selected by the photo picker, and they only have to be at screen resolution. Otherwise there is considerable processing time needed to restore a group of images when they could each be up to 12 MB.
Is there any way to reduce the resolution of an imported image? Or alternatively, is there a way to take a picture of a portion of the screen and save that as a jpg?
TIA
Don
Reducing image file size
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Reducing image file size
Sorry, I just found the export snapshot command so please ignore my question.
Cheers
Don
Cheers
Don
Re: Reducing image file size
Hi Don,
It might be quicker to use the imageData property. First set the desired rect of the image object, then get the imageData of the image object, set the text and the filename of the image object to empty and finally set the imageData of the image object to the stored imageData.
Kind regards,
Mark
It might be quicker to use the imageData property. First set the desired rect of the image object, then get the imageData of the image object, set the text and the filename of the image object to empty and finally set the imageData of the image object to the stored imageData.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode