Pasting image in clipboard on Mac OS

V

Vlado

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top