Skip to main content

AffineTransform

1 reply [Last post]
pranabi
Offline
Joined: 2006-08-22

Hi everyone,

I am using an AffineTransform to scale my image, I am writing the code from JAI tutorial which must not be wrong. But its showing a compilation error which reads as

java.lang.IllegalArgumentException: Affine operation can not invert the supplied transform parameter.
at javax.media.jai.JAI.createNS(JAI.java:1091)
at javax.media.jai.JAI.create(JAI.java:977)
at javax.media.jai.JAI.create(JAI.java:1625)
at ImageAnalysis.main(ImageAnalysis.java:59)
Exception in thread "main"

Thank you.

Persis

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Brian Burkhalter

http://java.sun.com/j2se/1.5.0/docs/api/java/awt/geom/AffineTransform.html#createInverse()

On Mon, 28 Aug 2006, jai-interest@javadesktop.org wrote:

> Hi everyone,
>
> I am using an AffineTransform to scale my image, I am writing the code from JAI tutorial which must not be wrong. But its showing a compilation error which reads as
>
> java.lang.IllegalArgumentException: Affine operation can not invert the supplied transform parameter.
> at javax.media.jai.JAI.createNS(JAI.java:1091)
> at javax.media.jai.JAI.create(JAI.java:977)
> at javax.media.jai.JAI.create(JAI.java:1625)
> at ImageAnalysis.main(ImageAnalysis.java:59)
> Exception in thread "main"
>
> Thank you.
>
> Persis
> [Message sent by forum member 'pranabi' (pranabi)]
>
> http://forums.java.net/jive/thread.jspa?messageID=147752
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai.dev.java.net
> For additional commands, e-mail: interest-help@jai.dev.java.net
>
>

----------------
Brian Burkhalter
Java Media, Imaging, and Graphics
Sun Microsystems, Inc.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@jai.dev.java.net
For additional commands, e-mail: interest-help@jai.dev.java.net