LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview-C # rotate bitmap image

Solved!
Go to solution

transparent in regards to the .vi's frontpanel background?

I don't think that's possible with the dotnet picture box, use the built-in LabView image to achieve this.

 

within the dotnet picture box, you can set each pixel's alpha channel from 0 to 255

e.g. all pixel of the rotated image to alpha = 255, all the black background pixels to 0

or vice versa

manual mask.PNG

Download All
Message 11 of 16
(879 Views)

@alexderjuengere wrote:

transparent in regards to the .vi's frontpanel background?

I don't think that's possible with the dotnet picture box, use the built-in LabView image to achieve this.

 

like this

labview-mask.PNG

 

transparency.PNG

0 Kudos
Message 12 of 16
(855 Views)
 

 

 

 

 Alexderjuengere thanks I solved this problem with a different method.

0 Kudos
Message 13 of 16
(837 Views)

@constructionworker wrote:

 Alexderjuengere thanks I solved this problem with a different method.


Hi, @constructionworker,

For the benefit of the next person to come along, could you please answer these questions?

  • What method did you use to solve your problem?
  • In your particular case, what made your method preferable to @alexderjuengere's solution?

Thanks,

joeorbob

0 Kudos
Message 14 of 16
(825 Views)
 

 

 

 

 Joeorbob 

I am trying to add the bitmap image to the Gmap.Net map. I need to rotate the image. but after doing it with the method alexderjuengere showed, I could not add it to the example made with Gmap.Net. I ran into some problems. I could not see the image as transparent. I commented on the C # examples made with 'Gmap.Net.Windows.dll' to Labview. Now I can transparently add a PNG file I want to the map and rotate it. This is how I solved this problem.

0 Kudos
Message 15 of 16
(786 Views)

Thank you for the vi, after continuous operation for a period of time, the program prompts out of memory, I think may be MemoryStream no release, I try to release it but doesn't work,  can you help me,Thank you !! 超内存.PNG

0 Kudos
Message 16 of 16
(678 Views)