*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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....
 
 
subject: Manipulating a BufferedImage for a dpi related problem....
 
Similar Threads
Cut/copying and pasting custom object types
change the dpi of an image displayed in applet
sequence diagram with rational rose
logo on resume
Java Image Capture, Buffered Image, Paste in MSWord 2007 problem