Sign in to follow this  
tokaplan

GIF transparency

Recommended Posts

1) AFAIK DirectX/D3D/D3DX doesn't support the GIF file format. If you want to use that format, you'll need to decode the animation frames yourself.

2) From memory, (like most 2D image formats of that era) I don't think GIF does support alpha channel(s) - it may support a colour key though.

3) Go to http://www.wotsit.org and search for GIF to get documentation, information and links regarding the all the nitty gritty details of the GIF89a format.

Share this post


Link to post
Share on other sites
Quote:
Original post by VisionForce
You can do a transparent image with DX though; you just have to set the background color as the transparent color through DX.

Well you can also avoid color-keying (which is prone to artifacts) and do it through regular alpha channels in the image. Formats such as tga and png support this, I believe, as well as dds.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this