abushne Posted January 3, 2008 Share Posted January 3, 2008 I am a newbie to Paint.net and to a certain extent, dealing with 32-bit Bitmaps etc. Anyway, I have a bitmap that is being used as a strip for a toolbar in our application. The problem I am running into is if our application is run in the default XP theme, then things are fine, however, when run in any other theme, such as the Windows Classic theme or in a test theme I downloaded, the icons in the toolbar have patch of white around them. I am thinking the transparency of the "white" in the bitmap is not set properly in the .bmp file. I have tried various things and cannot get it to work. I tried loading the tutorials site, but it seems down. I will try searching there. Any hints appreciated.. I saw hints related to using some magic "pink" and setting pixel zero etc. but I am not sure how, using Paint.net to set that etc. Thanks in advance for any input. Quote Link to comment Share on other sites More sharing options...
barkbark00 Posted January 3, 2008 Share Posted January 3, 2008 BMP doesn't support transparency, so there's no way to "set" that in the file... Quote Take responsibility for your own intelligence. -Rick Brewster Link to comment Share on other sites More sharing options...
abushne Posted January 3, 2008 Author Share Posted January 3, 2008 OK thanks. I was under the impression, maybe mistakenly so, that with a 32-bitmap (24-bit with alpha channel) there would be a way of doing this. Quote Link to comment Share on other sites More sharing options...
BoltBait Posted January 3, 2008 Share Posted January 3, 2008 See if you can use PNG instead. It supports transparency. Quote Click to play: Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game Link to comment Share on other sites More sharing options...
barkbark00 Posted January 3, 2008 Share Posted January 3, 2008 @abushne, Well, you are correct. Let me rephrase what I said... The types of BMP's supported by Paint.NET don't support transparency. I'm pretty sure that PdN will strip the alpha channel on 32bit BMP's. Quote Take responsibility for your own intelligence. -Rick Brewster Link to comment Share on other sites More sharing options...
abushne Posted January 3, 2008 Author Share Posted January 3, 2008 Unfortunately, BMP is what is required by the library we use and that cannot change at the moment. I guess what I find confusing is that in the XP theme, all is fine, just the other themes (such as windows classic) does there appear to be a problem. I guess I do not fully understand why in XP theme, the white is properly masked out? where as in other themes it is not... The white is always there. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.