By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,743 Members | 1,028 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,743 IT Pros & Developers. It's quick & easy.

Pasting image in clipboard on Mac OS

P: n/a
Hello,
I need to copy/paste image from Java application to/from the System
clipboard. On windows everything is just fine, but on Mac OS is not.
The problem is that when I transfer image to the clipboard it's
content type is image/x-java-image and when I try to paste it in some
Mac application (for example MS Worf for Mac OS) it doesn't work. I
think that this happens, because Word doens't understand the
image/x-java-image content type. When I copy image from Word to
clipboard it's content type is image/x-pict with representation class
InputStream.
My question is what is the format of the bytes under this InputStream.
There's another topic to think about. In flavormap.properties there
are 2 definitions for image PICT as image/x-pict and TIFF as
image/x-java-image.
In some mailing lists is written that Mac applications use PICT. So
the second question is is there some way to export the image to
clipboard as PICT instead of TIFF.
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.