Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualArthur Souza

Posted 23 September 2012 - 10:25 AM

What I'm talking about is, I got an image like that one, and I want to turn black into transparent. That simple. I understood that ColorKey is used when you have rough edges and no transparency on the image, so you only need to remove exact color matches.

You mean that to obtain transparency on an image such as that one, I will have to edit the image, and not do it through XNA?

(even thought I still haven't found a way to change that black background efficiently on Adobe Fireworks)

# Well, actually now I found a way to do this efficiently on Fireworks X.X

Selecting the image, Inverting the colors so the background is white. Adding Convert to Alpha filter on the image so white is now alpha. Flatenning the image and then Inverting colors once again, to get transparent background.

I just couldn't find a way around this on the image editor before and decided to ask here for ways to do it by code.

#1Arthur Souza

Posted 23 September 2012 - 09:45 AM

What I'm talking about is, I got an image like that one, and I want to turn black into transparent. That simple. I understood that ColorKey is used when you have rough edges and no transparency on the image, so you only need to remove exact color matches.

You mean that to obtain transparency on an image such as that one, I will have to edit the image, and not do it through XNA?

(even thought I still haven't found a way to change that black background efficiently on Adobe Fireworks)

PARTNERS