Image problem or snapshot

Mark Schonewille m.schonewille at economy-x-talk.com
Wed Dec 3 16:17:34 EST 2008


Hi Tom,

Yes, I am having exacty the same problem. My workaround is to export  
as PNG. The paint format doesn't work correctly.

on mouseUp pMouseBtnNo
    export snapshot from grc "Fill 1" to grcVar as PNG
    set the text of image "TEST" to grcVar
    set the imagesource of char 1 of line 1 of field "Sample" to image  
"TEST"
end mouseUp

(untested)

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

Color Converter has been updated! Get it at
http://colorconverter.economy-x-talk.com !

On 3 dec 2008, at 22:05, Thomas McGrath III wrote:

> Has anyone else had a problem with either the imageData or snapshot  
> capabilities in RR3.0?
>
> I am trying to run this script:
>
> I have one grc with a fill , one image object and one field.
>
> on mouseUp pMouseBtnNo
>    export snapshot from grc "Fill 1" to grcVar
>    set the imagedata of image "TEST" to grcVar
>    set the imagesource of char 1 of line 1 of field "Sample" to  
> image "TEST"
> end mouseUp
>
>
>
>
> Tom McGrath III
> Lazy River Software
> 3mcgrath at comcast.net
>
> iTunes Library Suite - libITS
> Information and download can be found on this page:
> http://www.lazyriversoftware.com/RevOne.html




More information about the use-livecode mailing list