[REBOL] Re: Images and the Clipboard
From: sanghabum:aol at: 18-Sep-2001 14:35
I asked on the list three or four weeks ago how I could save binary data
(images) to the clipboard. I now have the definitive answer from Feedback
which I've copied below
--Colin.
>> It doesn't seem possible to use the clipboard for anything other than text
>> data:
>>
>> Mylayout: layout [button "hello" field "goodbye"]
>> Myimage: to-image Mylayout
>> write/binary clipboard:// MyImage
>>
>> does not end up with an image on the clipboard. Not with Windoze anyway.
>>
>>
>> I'd like to be able to send images through to a drawing package. If you
guys
>> find yourselves with a spare afternoon one day, why not have a go at
getting
>>
>> Mylayout: layout [button "hello" field "goodbye"]
>> Myimage: to-image Mylayout
>> save/bmp clipboard:// MyImage
>>
>> to work. Please!?
>>
>> I'll also note here that I couldn't find any reference to the clipboard in
>> the Core 2.3 manual---so maybe it has this capability, but I haven't found
>> the magic words for it.
>>
This is true. The clipboard does not work with binary data right
now. We do have that on our list to do but I can't say when it will
reach high enough on the priority list to become a reality.
I'm sorry I can't give you a magic fix at this time.
REBOL Support