Problems with the Export command

Howard Bornstein bornstein at designeq.com
Tue Jun 8 22:30:55 EDT 2004


I've been running into a problem using the Export command. The TD says 
"If you use the form export [format] to..., the selected image is 
exported."

I select an image in my stack and from the message box execute: export  
JPEG  to file "mytest2.jpg"

This should export the image as a JPEG to the defaultfolder. In fact, 
this file does appear in the default folder, but neither Preview nor 
PhotoShop can parse the image (Preview says "File Error. Could not open 
file. It may be corrupt or a file format that Preview doesn't 
recognize").

If I use the other format for Export (i.e. export image...) and type 
in: export  image "imagename"  to file "mytest2.jpg"  as JPEG, it works 
as expected.

Any idea why the Export [format] version doesn't seem to be generating 
a valid JPEG file (I've also tried with PNG with the same results)?

I'm specifically trying to use this version because I want to use the 
ExportCard script that Key Ray has posted on his web site.



Regards,

Howard Bornstein
-----------------------
D E S I G N   E Q
www.designeq.com


More information about the use-livecode mailing list