LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to see the "background" with bitmap images?

Hi All!

When I load an .ICO file on a picture button I can see what there is
under the icon file where the "background" color is set.

I would like to have the same effect but with larger images (I.E.
bitmap images). There is a way to do what I want?

Another question: what are all those <br> I see in all posts? I'm
using Agent Newsreader but I see them also using Thunderbird.

Thanks,
Dimitri
0 Kudos
Message 1 of 3
(3,006 Views)
Dimi,

.bmp images don't support transparency, so you will not be able to load a .bmp into a picture button and have it display the backgroud. However, CVI picture buttons do support other image types than .ico and .bmp. You might try one of the other formats .wmf, .emf, .dib, .rle. (don't bother with .pcx though as it doesn't support transparency either). I have never had experience with the .wmf, .emf, .dib, or .rle image formats but perhaps they support transparency.

As far as the "
" statements you see, that is an HTML tag that is equivalent to a carrige return ("\n" in C). Not sure why your browser is showing them, but it just means that when you browse these forums you probably see everything smushed together into one giant paragraph.
0 Kudos
Message 2 of 3
(2,984 Views)
On Mon, 25 Apr 2005 13:41:44 -0500 (CDT), DaveC <x@no.email> wrote:

>Dimi,<br><br>.bmp images don't support transparency, so you will not be able to load a .bmp into a picture button and have it display the backgroud. However, CVI picture buttons do support other image types than .ico and .bmp. You might try one of the other formats .wmf, .emf, .dib, .rle. (don't bother with .pcx though as it doesn't support transparency either). I have never had experience with the .wmf, .emf, .dib, or .rle image formats but perhaps they support transparency.<br><br>As far as the "<br>" statements you see, that is an HTML tag that is equivalent to a carrige return ("\n" in C). Not sure why your browser is showing them, but it just means that when you browse these forums you probably see everything smushed together into one giant paragraph.

Is that I'm not using a browser but a newsgroup program.
That's why.

Html should not be used in newsgroups.

Dimitri
0 Kudos
Message 3 of 3
(2,966 Views)