Sign in to follow this  
Guest Eugen

mask and alpha channel

Recommended Posts

Hi,I am creating an altimeter and it has two mask. I have based it on the 747 xml one. What I have found out is that I get a dark vertical line at the right side of my altimeter, and I have gone through all bitmaps looking for non 0-0-0 black . However my mask has no alpha channnel and I wonder could it be the lack of an alpha channel creating this black horisontal line? Do mask files always need an alpha channel?BrgdsEugen

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

>I have gone through all bitmaps looking for non 0-0-0 black >. However my mask has no alpha channnel and I wonder could >it be the lack of an alpha channel creating this black >horisontal line? Do mask files always need an alpha channel? Eugen, I have never used a bitmap with alpha channel in an XML gauge. In fact, all my bitmaps are stored as either 8 bit/channel indexed .bmp files, or 8 bit/pixel RGB .bmp files.

Share this post


Link to post
Share on other sites

I would check if there are bitmaps in the gauge that exceed the size of the first one and secondly check for other gauges in the vincinity if there are overlaps. These seem to be reasons for these black lines. And also 256-color bitmaps and higher colour bitmaps mixed in one gauge might also be the reason.Arne Bartels

Share this post


Link to post
Share on other sites

Hi,Problem solved :-) I had true color bitmaps and they don't work as mask images obviously , when I reduced the number of colors it worked.Thanks!Eugen

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