02-09-2009 05:13 AM - edited 02-09-2009 05:20 AM
Hello!
I use inkscape for drowing nice icons to put them into LabVIEW custom controls. As I can see LabVIEW doesn't support SVG format, but EMF, WMF and probably should support EPS.
The problem is EMF files can't contain gradients and EPS can't be imported into LabVIEW (why?).
I need nice icons as vector graphics with gradience, but it seems to be not possible. Any ideas?
Here a VI with a EMF graphic. Try to rresize the front panel, it works nice (without resolution lost), but as I sad EMF doesn't know gradient.
02-10-2009 04:10 AM
02-10-2009 06:11 AM - edited 02-10-2009 06:19 AM
In trying to make LabVIEW control a small CAD application, I too thought that Inkscape / SVG might be a good starting point. I considered coding in LabVIEW to handle the vector portions of SVG. LabVIEW's already happy with XML, so the question is: what subset of SVG tags need to be coded for.
Maybe that's what THIS is for: http://www.w3.org/TR/SVGTiny12/ but as it says, it's a subset for CREATING SVG files. There's no guarantee that the implemented subset would be able to READ Inkscape's SVG files.
That one's on the back burner for now.
09-25-2009 04:01 AM
Will NI LabVIEW not (good) support vector graphics?
The same asked here:
http://decibel.ni.com/content/message/8442#8442
May be it should go into the featurerequest list for the next version of LabVIEW?
Regards, Eugen
10-21-2009 04:11 PM
+1 for SVG support.
The advantage over EMF, WMF and EPS in IMO would be that it's a standard by W3C. It would be great, if SVG could be used for icons or for background images.
ARUN
10-21-2009 04:33 PM
If you're interested in seeing this in a future version of LabVIEW, you could post this as an idea on the LabVIEW Idea Exchange!
Greg Stoll
National Instruments
10-21-2009 07:40 PM