How do you resize a snapshot from rect?

William de Smet williamdesmet at gmail.com
Wed Nov 17 10:29:17 EST 2010


Hi there all,

I take a snapshot from a card put I want the exported file to be saved
resized (bigger).
I do the same with printing but then I set the printscale to 1.8.
Can anyone tell me what the best way is to do this?

 ------
set the fileType to "ogleJPEG"
   ask file "Save:" with "*.jpg"
   if char -4 to -1 of it <> ".jpg" then put ".jpg" after it
   export snapshot from rect "-2,48,507,557"  of this card to file it as JPEG
-----


greetings,

William



More information about the use-livecode mailing list