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.
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.