Export snapshot

Marty Knapp martyknapp at comcast.net
Fri Mar 4 23:08:19 EST 2005


I'm using Rev 2.2.1 on Mac OS 10.2.8 Trying to export a window to a jpeg

on mouseUp 
  set fileType to "msieJPEG"
  export snapshot from rect (the rect of this stack) to file "test.jpg"
end mouseUp

If creates the file but when I double click it, Preview launches but
displays nothing. Photoshop gives me the error that it's an unknown or
invalid JPEG marker type.

For filetype I've tried jpegJPEG, ????JPEG.

What am I doing wrong?

Thanks,

Marty Knapp



More information about the use-livecode mailing list