Re: Transparency channel

[email protected] (David N. Welton)
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <[email protected]>
Bob Friesenhahn <[email protected]> writes:

> On 1 Mar 2004, David N. Welton wrote:

> > According to this, the IM guy(s) implemented the 'O' mapping for
> > MagickGetImagePixels - could that be added to GM as well?

> It is not difficult to implement.  I am currently on a business trip
> so it will need to wait until my return, unless of course you are
> willing to implement it yourself (you *do* have cvs commit access),
> or some other GM developer works on it. If you choose to implement
> it yourself, make sure that the function description is updated
> appropriately.

I'm looking at it.

*) ImageMagick chose the name OpacityQuantum for 'O', whereas 'A' in
 GM corresponds to an OpacityMapQuantum.

*) If we use 'T' for transparency, that ought to have a
 TransparencyMapQuantum, no?  But 'T' is equivalent to 'A' which
 already has OpacityMapQuantum.

So what should the MapQuantum type be?

Thanks,
-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.