Archived

This topic is now archived and is closed to further replies.

Odoacer

color depth for transparency?

Recommended Posts

I can''t seem to save a bitmap in 16 bits and make it transparent - I have to use a 24-bit depth. Problem is, I''m running my window in 16-bit mode. Now, this works fine on my machine, but I''m trying to keep quirks/hacks/etc out of the way. I suspect this might be the reason some of my friends can''t seem to run my programs. What''s the reason for my saving in 16bits not working?

Share this post


Link to post
Share on other sites
DO you mean you have a transparency colour, or you''re trying to draw the whole image with an aloha blending?



Why do Suicide Bombers think they''re going to a better place?
Don''t they know their going all over the place?

Share this post


Link to post
Share on other sites
No, I have a transparency color (78, 255, 0) but it doesn''t work unless I save the image as a 24-bit bitmap. That''s my main problem - I can''t save it as a 16-bit bitmap and still have transparency work.

Since my program is running in 16-bits, I imagine this may also cause some incompatibilities among some systems. (It works fine on mine, but crashes on some friends''.)

Share this post


Link to post
Share on other sites
Yes, about a hundred times. It''s the same picture, just saved in a different color depth. I''ve also tried saving it in different 16-bit formats: X1R5G5B5, (x for alpha I think), R5G6B5, and so on. Doing it as R5G6B5 causes the program to crash, with the 1-bit alpha channel it runs fine but transparency is broken, with 24-bits, all is good but potentially incompatible.

Any ideas?

Share this post


Link to post
Share on other sites