Since writing the query below, I realise that sometimes 'export' doesn't 
export: it produces an (undocumented) result "can't open file" which seems 
inappropriate. I had somehow messed up the file path and hadn't noticed. There 
was a different problem with the framing of the image - hard to track down but 
not worth explaining. Sorry for the bandwidth.


Graham

Earlier post:

> I seem to be going crazy, but I can't see what I'm doing wrong. I have an 
> image say "myImage", and I export it with a command like
> 
> export img "myImage" of cd "myCard" of stack "myStack" to URL ("binfile:" & 
> somePath &"/"&someFileName) as JPEG
> 
> This works, and the file appears, but it is not the right size: I mean if I do
> 
> put the rect of img "myImage"
> 
> immediately after the 'export', I get the rect I expected from the remainder 
> of my code: but if I look at the actual file with say GraphicConverter on a 
> Mac, then I find the image is cropped vertically.
> 
> I suppose I did something wrong, but I can't think what.
> 
> Any ideas?
> 
> TIA
> 
> Graham

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to