inverting graphics

BlitzPlus Forums/BlitzPlus Programming/inverting graphics

Mr Brine(Posted 2003) [#1]
Howdy!

Does anybody know if theirs a fast way of inverting graphics, by inverting I mean making the transparent color solid, and all other colors transparent.

Thanks

Mr Brine


keyboard(Posted 2003) [#2]
<edit>
simply using two graphics, one "normal" and one "inverted" would be fast.

or is there a reason this would not do?


Mr Brine(Posted 2003) [#3]
Ive got tons of animation frames so I dont really wanna have to keep to copies of the inverted frames in memory....


wedoe(Posted 2003) [#4]
Do you want any alpha involved ?


Leon Brown(Posted 2003) [#5]
Write an application that will invert your sprite animations. That should do the trick.