03-25-2019
04:43 AM
- last edited on
06-06-2025
09:06 AM
by
Content Cleaner
I tried rotating PNG image with attached code in LabVIEW 2016 version.
https://forums.ni.com/t5/Example-Code/Rotating-Graphics-Pixmaps-in-LabVIEW/ta-p/3996228
Now, I am able to rotate input image with user defined angle (in degrees).
You can take any PNG image with transparent background as a input file.
The image is with transparent background.
I want that image with transparent background to be shown in picture indicator.
It is currently showing white background.
Can somebody please help, how to achieve this.
03-25-2019 05:56 AM - edited 03-25-2019 05:58 AM
use a mask
1# use a mask to render transparency in a Labview Picture Plot e.g.
National Instruments\LabVIEW 2017\examples\Graphics and Sound\2D Picture Control\Using Mask with Picture.vi
2# use Darin K.'s .vis to save this mask layer as an alpha layer 32 bit .png
03-25-2019 02:01 PM
a bit more elaborated ...