crop command
BNig
niggemann at uni-wh.de
Thu Oct 21 15:36:56 EDT 2010
John,
if you have a file based image you have to "detach" it from the file.
The way I do it is to issue
---------
set the imageData of image "myImage" to the imageData of image "myImage"
---------
though it might seem paradoxical it effectively makes it a Rev image that
you can crop etc.
Of course you would then have to store the path and save the image
afterwards.
Or you could use
------
import paint from file "pathToImage"
-------
this would not be tied to the original as in
-----
set the filename of image "myImage" to "pathToMyImage"
-----
regards
Bernd
--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/crop-command-tp3006042p3006170.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list