Hi,
I have a problem using AffineTransform() in conjunction with JAI. I read
a JPEG-image with JAI.create("fileload,...) into as a BufferedImage and
draw it on a canvas using
g2D.drawImage(im,
AffineTransform.getScaleInstance( scale, scale),this);
This leads to an exception :
java.awt.image.ImagingOpException: Unable to transform src image
at java.awt.image.AffineTransformOp.filter(AffineTransformOp.java:236)
If I read it with the Sun JPEG-Decoder it works.
I want to use the JAI fileloaders and I want to be able to scale it for
displaying. What can I do?
For detailed understanding of my problem I have attached sample code.
Best regards,
Wolfgang
AffinTrTest.java