File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Manipulating a BufferedImage for a dpi related problem.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Manipulating a BufferedImage for a dpi related problem...." Watch "Manipulating a BufferedImage for a dpi related problem...." New topic
Author

Manipulating a BufferedImage for a dpi related problem....

Tarun Bolla
Ranch Hand

Joined: Jun 20, 2011
Posts: 89
Hi,

I am in the process of developing an app in java which takes screen shot on pressing a button on the app. I am getting the screen shot using java.awt.Robot class. Then i am passing the image to system clipboard using java.awt.datatransfer.Transferable object. Now the problem is when i try to paste that image in MS Word 2007, i get a blurred image. But the same image when pasted into MS Paint and copied again and pasted to MS Word 2007 gives a perfect crisp image. The former image > paste in MS Word 2007 > Right Click on Image > Size, shows me some 87% height and width(Varies with different images). I havent resized it. But the paint version shows 100%. What might be reason and what am i missing here?? Please help me with this..Thanks in advance.

Edit : I thought it might be a dpi(ppi) related problem....
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Manipulating a BufferedImage for a dpi related problem....
 
Similar Threads
Java Image Capture, Buffered Image, Paste in MSWord 2007 problem
change the dpi of an image displayed in applet
Cut/copying and pasting custom object types
sequence diagram with rational rose
logo on resume