LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Possibility of changing a picture's background color

hello,

Using the attached tools , ICON Editor with CVI 7.1, I can draw an icon but always with a background color, I noticed that there is a function : SetBitmapData(), it seems that through modifying the parameter "msak" , it could achieve to get off the background color , I'd like to know if it could do this ?

David
0 Kudos
Message 1 of 2
(2,879 Views)

An image in an icon file can have transparent pixels if its color depth is below 32 bpp. If the color depth is 32 bpp all the pixels can have different levels of transparency, called the alpha value. The alpha value can vary from 0 to 255. The lower the alpha value is the more transparent is the pixel. If the alpha value is 0, the pixel is invisible.

The Icon Editor in CVI is very limited and do not support these features for icon creation. This Application was created a long time ago before all these new formats were introduced and NI did'nt really upgrade this over the last 5 years or so.

There's a lot o tools available out there but I like this one: http://www.image2icon.com/  You can download a trail verison there.

Message Edited by Jattie on 09-13-2005 08:20 AM

Jattie van der Linde
Engineering Manager, Software & Automation
TEL Magnetic Solutions Ltd
0 Kudos
Message 2 of 2
(2,872 Views)