[SDL] Blitting on 8 bit surfaces

Christian Meyer tvgenial at web.de
Fri Dec 21 15:26:12 PST 2007


Hello!

I am working on a tool, that converts several graphic formats. Therefore 
I am looking for informations about what the blitting of 8 bit surfaces 
exactly does.
It seems, that there are no informations about that on the net.

What is exactly happening with the colortables, when I blit a 8 bit 
surface on an other 8 bit one?
When the source surface contains a color that is not in the dest table, 
is it automatically added? What happens when the dest color table whould 
have more the 256 colors after a blit?
Are the in indices of the source surface automatically changed to match 
the dest color table?
What happens, when the same color is more then once in the table?

Thanks for any Information!
C. Meyer

P.S. Sorry for my bad english :)



More information about the SDL mailing list