Re: Make a bitmap image border in toolbar transparent
There is a fix, but for now why don't you use .Gif with transparency?
_____________________________________________________________________
----If this post has helped you. Please take time to Rate it.
----If you've solved your problem, then please mark it as RESOLVED from Thread Tools.
Re: Make a bitmap image border in toolbar transparent
Originally Posted by dilettante
I'd guess that whatever was used to create the image tried to blend the color, so some of the "magenta" is not exactly the same as the MaskColor.
I think dilettante's hit the nail on the head. The app you used to create the image should have some anti-aliasing or 'feather' options which you should turn off. The image you posted clearly has been blended to a magenta background.
Re: Make a bitmap image border in toolbar transparent
Originally Posted by coolcurrent4u
Just to prove some point, i have remade the icon using photoshop and a number of other software, but it is still the same as i posted before.
i have the icon with background as 32bit, 24bit and even 8bit color depth, but no improvement.
any tip as to software i should use or color?
Photoshop is known for blending into a background color. I've seen this many times with people that wanted to use a image created from photoshop with a magenta background (for example) as the shape of a form. Then using common methods to create a window region for the form, from the photoshop image, were disappointed the result did not match their bitmap. And here's what I told them to do to prove it, same as I'm going to suggest to you.
1. Open your image with MS Paint
2. Fill the magenta background color with another color, like white
3. What does the result look like? I'm sure it will look similar to Milk's image (2 posts up)
I do think posts 6 & 7 are the reason for the magenta edges you see. And those edges are NOT exactly magenta, but a subtle shade difference.
Insomnia is just a byproduct of, "It can't be done"
Re: Make a bitmap image border in toolbar transparent
I'm not familiar with Photoshop. As mentioned by Milk, above, I would think there would be a setting in photoshop to not anti-alias the image with the background. And that's what you want. If photoshop won't save such an image in 8 bit or lower, you might be able to bring it into MS Paint and save it as 256 colors, but MS Paint may do some color changing -- you'll have to experiment.
Insomnia is just a byproduct of, "It can't be done"
Re: Make a bitmap image border in toolbar transparent
Have you tried just opening your BMP in MSPaint, setting the view magnification large, and then manually painting those "near magenta" pixels to either magenta or your button-edge color?