I have a feature request: Export as SVG
SVG is a vector format, and can be imported into a graphic app for annotation. SVG is a simple to code format & easy to tweak with a text editor. Being vector, the clarity is optimal & scaling is accurate. The export would be just channel data & decoding, [or prettify with ch names, cursors, timescale etc...] Scaling: could just scale x to A4 or A3 size, Y scale can just set appropriate. In the future, a full WSWG SVG exporter could be implemented (ch traces, decoding, timescale, cursors) I wish I could contribute but I have enough trouble coding in FB. I made a quick test program in FreeBasic to read a 0/1 logic .txt file exported from PulseView, output to SVG (attached) Graphics viewers I have can read, corel draw can import, online SVG processors can read. & can be wrapped in html for a web page. Tonig Sample SVG (this is just 2 channel data) shows how simple the output can be. --------------------------------------------------------------------------- <svg height="180" width="500"> <polyline points=" 0,0 22.9031,0 22.9031,10 24.99491,10 24.99491,0 27.85016,0 27.85016 ... " style="fill:none;stroke:red;stroke-width:0.1 " /> <polyline points=" 0,22 20.92961,22 20.92961,12 22.9031,12 22.9031,22 26.47598,22 26.47598 ... " style="fill:none;stroke:blue;stroke-width:0.1 " /> </svg>
_______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel