Hello,
I would like to swap a colorgradient (red to darker red) in bitmaps to
another gradient using paletteMap, but I can't figure it out.
I am able of greyscale aand other more simple effects, but the nearest
I get, was to cut colors that have a huge part of red, but that also
effects lighter colors, because they also have a big part of red in
them.
e.g.
__blueArray[i] = i;
__greenArray[i] = i << 8;
if (i<0xcc)
__redArray[i] = i << 16;
else
__redArray[i] = 0x33;
I am aware, that each Array r/g/b can consist of 256 32Bit values, but
I can't think of a better conspet right now.
I would welcome any help, tutorials or just ideas on that topic.
Matthias
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders