Re: Transparency channel

Bob Friesenhahn <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <[email protected]>
On Sun, 7 Mar 2004, Glenn Randers-Pehrson wrote:
> >
> >No, it works great!  Thanks a bunch for updating it.
> >
> >> If you can tell me the map strings that TclMagick uses, I can add a
> >> special case to make it faster.
> >
> >"RGBO" (and it's TkMagick, by the way - TclMagick doesn't depend on Tk
> >and, as a consequence, some kind of windowing system).
>
> For consistency, should the -ordered-dither and -random-threshold
> operations understand "RGB" and "O" as synonyms for "intensity"
> and "opacity" channel-types?

These options are used for a string which is repeatedly parsed by the
API.  For the command-line interface, we should be compatible with the
options provided by the existing -channel operation:

  "Choose  from:  Red,  Green, Blue, Opacity, Matte, Cyan, Magenta,
   Yellow, or Black."

Feel free to add additional channel-level operations if you like. :-)

I am not a fan of calling the opacity channel the matte channel since
while it can be used as a matte channel, it is really a full-range
transparency channel.

Bob
======================================
Bob Friesenhahn
[email protected]
http://www.simplesystems.org/users/bfriesen



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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.