Images
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Fri Jan 27 05:20:20 EST 2006
Hi Scott,
Just try put img "myImage" into img "HerpImage"
Le 27 janv. 06 à 11:16, Scott Kane a écrit :
> 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.
Best Regards from Paris,
Eric Chatonet
------------------------------------------------------------------------
----------------------
http://www.sosmartsoftware.com/ eric.chatonet at sosmartsoftware.com/
More information about the use-livecode
mailing list