On 19 May 2011, at 18:59, CIB wrote:

> Those function names make me guess that a lot of time is wasted converting 
> the image. I also don't need full alpha transparency in a lot of cases, 
> color-keyed transparency would do just fine. Would there be a way to speed up 
> drawing through that?

Alpha blending is never going to be cheap because you have to composite every 
pixel with whatever is there already...

If you are OK with a simpler "barn door" mask approach, then using another 
image format might help - I think (it's been a while) that if you use XPM 
images that have a simple transparency, then it may all be a lot quicker. (That 
might be true for GIF too, actually, though I am not certain...)

Anyway, I'd try it with XPM images instead and see if that improves things - 
looks like you are on a linux host anyway so converting the images to XPM's 
should be trivial, though what will happen to your existing alpha channel I'm 
not sure.
The Gimp'll know what to do I guess.









_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to