Does SDL support BMP transparency?, if YES then how

Does SDL support BMP transparency?, if YES then how…

Jesse
SLNTHERO at AOL.com (mailto:SLNTHERO at AOL.com)
www.SilentHeroProductions.com (http://www.SilentHeroProductions.com)

Hello !

Does SDL support BMP transparency?, if YES then how…

Have newer BMP formats some kind of transparency
like GIF format ?

But anyway SDL supports all transparency formats
in that kind that you can blit with ColorKeying.

ColorKeying simply skips pixel that have a certain
color.

CU

Hi,
I think only windows bitmap version 4/5 support an alpha-channel…
See the msdn documentation about bmps if you want to know more.

Regards,
Christoph Harder

Torsten Giebl wrote:> Hello !

Does SDL support BMP transparency?, if YES then how…

Have newer BMP formats some kind of transparency
like GIF format ?

But anyway SDL supports all transparency formats
in that kind that you can blit with ColorKeying.

ColorKeying simply skips pixel that have a certain
color.

CU


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Does SDL support BMP transparency?, if YES then how…

SDL_image can load transparent BMP files.

-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment

AFAIK BMPs do not officially support transparency.

You should use PNGs anyway. BMP is an uncompressed and obsolete format.On 8/29/06, SlntHero at aol.com wrote:

Does SDL support BMP transparency?, if YES then how…

  • SR