Hi Wolfgang,
   Could you tell me what platform you are using?  And what is the
bit depth of your screen?  Are you having problems for all scale
factors?  I'm having problems reproducing your problem.

Thanks

jeannette

> X-Accept-Language: en
> MIME-Version: 1.0
> Date: Sat, 25 Sep 1999 18:12:33 +0200
> From: Wolfgang Keupp <[EMAIL PROTECTED]>
> Subject: [JAVA2D] Problems with AffineTransform and JAI
> To: [EMAIL PROTECTED]
>
> 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
>
>

===========================================================================
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