Saving Measurement Studio Control Images with Transparency
Downloads
Filename: savetransparentgif.zip
Requirements: View
This example has a built in class that allows for Measurement Studio control images to be saved with transparency. By default the methods implemented for C# do not save transparency. In this example a simple scattergraph is plotted, and the image of the scattergraph is saved to file with transparency. To save it with transparency a new color table had to be created for the image. The algorithm used to convert the image was taken from the MSDN articles listed below.
How to save GIFs with a new color table
Optimizing color quantization for ASP.net
Requirements
Filename: savetransparentgif.zip
Software Requirements
Application Software: Measurement Studio Standard Edition 8.0.1
Additional Software: Visual Studio .NET 2005
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
