JB,

Your script works fine here. I don't know why it wouldn't work for you. Did you restart Revolution and try this script again in an otherwise empty stack? Maybe, you machine is too slow, you don't have enough memory available, or maybe you have an empty image on your card which you forgot about. Without more information, there is nothing I can do.

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Salery is the easiest way to get your own web store on-line: http:// www.salery.biz/salery.html



Op 31-mei-2006, om 16:48 heeft jbv het volgende geschreven:



Mark,

yes, you're right; but try this :

on mouseUp
    import snapshot from rect (the screenRect)
    put length(the imagedata of img 1)

    create img
    set rect of img 2 to rect of img 1
    set imageData of img 2 to imageData of img 1
end mouseUp

the 2nd image is just a black rect; although the imagedata
contains more than 5 Mb of binary, it seems that they're
all zeros...

as for Rev doc, just have a look at what it says for imageData
(bottom of the screen)...

JB


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to