Skip to main content

[JAI] How to convert a TiledImage to a PlanarImage and vice-versa

1 reply [Last post]
Anonymous

Hello,

I'm writing my first app with JAI and I must confess that I'm very
confused with image types.

Can someone tell me how to apply a method desgined for a TiledImage to a
PlanarImage and vice-versa.

I would be very happy if someone could help me or give me an
understandable tutorial!

Thanks in advance.

olib

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

Reply viewing options

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

A TiledImage "is-a" PlanarImage.

As for the converse: TiledImage ti = new TiledImage(pi, true)
where 'pi' is a PlanarImage.

Brian

On Wed, 15 Jun 2005, Olivier Barnich wrote:

>
> Hello,
>
> I'm writing my first app with JAI and I must confess that I'm very
> confused with image types.
>
> Can someone tell me how to apply a method desgined for a TiledImage to a
> PlanarImage and vice-versa.
>
> I would be very happy if someone could help me or give me an
> understandable tutorial!
>
> Thanks in advance.
>
>
> olib
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@jai.dev.java.net
> For additional commands, e-mail: interest-help@jai.dev.java.net
>
>

----------------
Brian Burkhalter
Advanced Development/Media & Entertainment
Market Development Engineering
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