aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Question about drawImage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Question about drawImage" Watch "Question about drawImage" New topic
Author

Question about drawImage

zhong hb
Greenhorn

Joined: Oct 18, 2005
Posts: 7
I want to update my program from jdk1.5 to jdk1.6.but Exception occur
when Graphics2D.drawImage(Image image,AffineTransform at,ImageObserver ios) called.

Cannot construct MaskBlit for XOR mod
at sun.java2d.loops.MaskBlit.makePrimitive(MaskBlit.java:110)
at sun.java2d.loops.GraphicsPrimitiveMgr.locate(GraphicsPrimitiveMgr.java:142)
at sun.java2d.loops.MaskBlit.locate(MaskBlit.java:43)
at sun.java2d.loops.MaskBlit.getFromCache(MaskBlit.java:56)
at sun.java2d.pipe.DrawImage.renderImageXform(DrawImage.java:428)
at sun.java2d.pipe.DrawImage.transformImage(DrawImage.java:199)
at sun.java2d.pipe.DrawImage.transformImage(DrawImage.java:1029)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3106)
at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.java:840)
at sun.java2d.pipe.DrawImage.transformImage(DrawImage.java:1037)
at sun.java2d.pipe.ValidatePipe.transformImage(ValidatePipe.java:212)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3106)


why??
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question about drawImage