Copy and Past Images to OS clipboard

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Copy and Past Images to OS clipboard

Juraj Kubelka-5
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Copy and Past Images to OS clipboard

Michael Lucas-Smith-2
There are quite a few clipboards, but hopefully we're using the one you want in this case.

Pixmap fromClipboard <- grab an image from the clipboard in the platform image format
aPixmap toClipboard <- copy an image in to the clipboard in the platform image format

You can convert between Image objects and Pixmap objects with #asImage and #asPixmap.

Michael

On Mar 15, 2011, at 9:22 AM, Juraj Kubelka wrote:

Hi Smalltalkers!

Do you have an experience with copy&paste images from/to global (OS) clipboard? I know it is possible to copy to the clipboard several formats (plain text, html, picture, etc.)  and other applications can ask for various formats. Let's say in Python language, there is a gtk.Clipboard object [1], which knows available targets and can ask for any of them.

Right know, I am interested in OS Linux, but later I will want to use it also in Mac OS X and Microsoft Windows.

Thank you for any help,
Jura

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Copy and Past Images to OS clipboard

Juraj Kubelka-5
CONTENTS DELETED
The author has deleted this message.