comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDLgrImage color table and alpha channel ??
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: IDLgrImage color table and alpha channel ?? [message #44873] Tue, 26 July 2005 10:26
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
On Tue, 26 Jul 2005 15:03:34 +0200, Antonio Santiago wrote:

> Hi,
> I want an IDLgrImage that use a palette and has alpha channel, that is a
> DATA=[2xWxH].
> I am reading IDLgrImage documentation and I don't see it will be
> possible. I am wrong?? I don't want to do a wrapper class and then know
> it is possible :)
>
> Thanks, bye.

No, that is not supported.

The first channel in a two-channel image is a luminance channel.

You'll have to expand your color index into an
RGB triplet via your color table and make a [4xWxH] image array. It is
not difficult, but will require more space.

Karl
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDLgrImage color table and alpha channel ??
Next Topic: Spawn and XP

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 11:58:21 PDT 2025

Total time taken to generate the page: 0.16094 seconds