  | |  | Compositing 32bit (+alpha) images impossible? | Compositing 32bit (+alpha) images impossible? 2003-12-06 - By Brennan
Back Hi folks, just checking. I am sure this is the best place to ask, too.
With imaging lingo 'as is' there is no way of compositing two (or more) images with alpha channels, right? When I use copy pixels, the alpha of the 'incoming' image overwrites the other one, rather than being used to merge the color data. Makes sense, and useful in most cases, but not this one.
I'm trying to make antialiased colored text on a colored background and it seems to be pretty much impossible although there are halfway solutions using darken/darkest if you keep the foreground and background colors within known ranges. Dark text on pale backround can be hacked together quite nicely, but I was hoping for a more general solution which also worked with any old 32bit images.
I have checked the archives of this list and Direct-L, which was not very encouraging.
One thing I haven't tried (and don't really understand) is createMatte() and createMask() which seems like it may offer a solution. After all, mask ink is a compositing operation, so it ought to be possible to pull out the alpha channel, create a matte (or mask) from it, and then use copyPixels with the mask ink.
Am I barking up the wrong tree, or is there no tree?
AFAICT this is the main shortcoming of imaging lingo today, but as I don't see endless complaints about it, I wonder if a solution exists.
Brennan __ ____ ____ ____ ____ ____ ____ ____ ____ ____ dirGames-L mailing list - dirGames-L@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames-l
Earn $52 per hosting referral at Lunarpages.
|
|
 |