Images
Scott Kane
scott at proherp.com
Fri Jan 27 05:16:40 EST 2006
Hi,
I'm needing to load an image into a
card and then save that with the card
(the actual image and not the file
name reference to it). I tried the
code below. It almost works, but I get
a black and white image when the last
line is run in the procedure.
---------- Paste -----------
answer file "Select the image:"
set the filename of image "myImage" to it
set the left of image "myImage" to the left of me
set the top of image "myImage" to the top of me
set the rect of image "myImage" to the rect of me
set the imageData of image "myImage" to the Imagedata of image
"HerpImage"
-----------End Paste -------------
I've tried various other methods with
no success and the doc's don't seem to
cover it well. Any suggestions greatly
appreciated.
Scott
More information about the use-livecode
mailing list