Hello,

I have 1-band image of TYPE_USHORT. After JAI Lookup operation and I get
3-band image of TYPE_USHORT. When I display it with drawRenderedImage
with AffineTransform that is not an identity, I get following exception:

java.awt.image.ImagingOpException: Unable to transform src image
         at
java.awt.image.AffineTransformOp.filter(AffineTransformOp.java:262)
         at sun.java2d.pipe.DrawImage.transformImage(DrawImage.java:273)
         at sun.java2d.pipe.DrawImage.transformImage(DrawImage.java:784)
         at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:2899)
         at
sun.java2d.SunGraphics2D.drawRenderedImage(SunGraphics2D.java:2410)
         at
andrea.DisplayScaledJAI.paintComponent(DisplayScaledJAI.java:182)

If AffineTransform is identity, everything is ok.
If I use 3-band image of TYPE_USHORT that comes from JAI Fileload
operation, not from Lookup, everything is ok.
If Lookup gives 3-band image of TYPE_BYTE, everything is ok.

Thanks for any ideas

Jakub Jablonski

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to