Hello,
I have a PNG image (with per pixel alpha) and I want to blit it on a
surface with colorkey (at first, without alpha). The image has all over the
edge some transparent pixels so it displays at its own as a "rounded"
surface. The problem comes when I try to blit it over a surface with
colorkey set. This surface should be fully transparent (it’s a surface made
of a single color, and that color is the colorkey), but when I make the blit
from the image to the transparent surface, all over the “new image”, where
the pixels where transparent at first, now I see the colorkey of the
transparent surface!
I've looked up for alpha and color issues, but I don't manage to
understand it completely :((
Could you help me please?
I've tried disabling the alpha of the image (SDL_SetAlpha( image, 0, 0
)) but then I completely loose the alpa information of the image after
blitting.++++++++++++++++++++++++++++++++
ALBERT FERNANDEZ MARSAL
CIRSA INTERACTIVE CORP. SL
Analista senior y programador
mail: @Albert_Fernandez_Mar
++++++++++++++++++++++++++++++++