Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

mask and alpha channel

Featured Replies

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

>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.

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

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

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.