File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes Clipboard Image Format Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Clipboard Image Format Issue" Watch "Clipboard Image Format Issue" New topic
Author

Clipboard Image Format Issue

A Chatterjee
Greenhorn

Joined: May 28, 2012
Posts: 1
Hi,
I have been trying to solve this problem in various ways and looking for some help. Upon copying images from a particular application to the system clipboard, it uses the CF_DIB format. When I paste the CF_DIB Clipboard image into a Java Applet primarily leveraging the AWT libraries for copying items from the System Clipboard and pasting them into the Applet, the Image gets distorted. Images created in Paint or imported into Paint or other image drawing apps paste fine. It is the CF_DIB format that causes this problem.

I have tried the Apache Pivot route and have posted to their forums but have not had luck yet. Wondering if any experts here can help steer me in the right direction to copy an image from the clipboard which is this format and successfully paste it into a Java Applet?

Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Clipboard Image Format Issue