LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Function and Control Pallet Icons/Glyphs

Solved!
Go to solution

In memory streams works fine too, different use cases for both. WebServices library includes more dependencies. Too bad NI doesn't provided a public OOTB method to convert wmf/emf to png. Or better yet, supports palette item name or palette item path with the App : Palette : Get Palette Item Icon invoke method. Right?

0 Kudos
Message 11 of 13
(379 Views)

@rcpacini wrote:

In memory streams works fine too, different use cases for both. WebServices library includes more dependencies. Too bad NI doesn't provided a public OOTB method to convert wmf/emf to png. 


The WebServices library adds a different dependency, not more dependencies per se (Load PNG is also a dependency).

 

It's not that hard to copy that VI outside the library. There's nothing WebServices related to it. It's just a call to LabVIEW.exe. The VI is used by WebServices, not vice versa.

 


@rcpacini wrote:

Or better yet, supports palette item name or palette item path with the App : Palette : Get Palette Item Icon invoke method. Right?


It's weird that the method returns a wmf byte stream, while it's probably always a raster image in a wmf... Returning a pixmap makes more sense. Wmf is probably more convenient for the routine that draws the palette, that is not a VI. We where probably never considered as a user of this method.

 

But yes, it could be improved.

0 Kudos
Message 12 of 13
(374 Views)
0 Kudos
Message 13 of 13
(366 Views)