Page 1 of 1

Reducing image file size

Posted: Thu Dec 13, 2012 8:25 am
by grovecat
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

Re: Reducing image file size

Posted: Thu Dec 13, 2012 8:30 am
by grovecat
Sorry, I just found the export snapshot command so please ignore my question.

Cheers
Don

Re: Reducing image file size

Posted: Thu Dec 13, 2012 1:09 pm
by Mark
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