/seps2svg

Ruby script that converts EPS files output by the SCORE music typesetting software to SVG graphics.

Primary LanguageRubyOtherNOASSERTION

SCORE EPS to SVG converter

This Ruby script converts EPS files produced by Leland Smith's SCORE music typesetting software to SVG.

Download and installing

 git clone https://github.com/craigsapp/seps2svg
 cd seps2svg
 make 

you will probably have to install ruby (I am using ruby v.2.7.0). One way is with RVM (Ruby Version Manager).

Usage

ruby seps2svg.rb EPSFILE

Direct SVG

seps4id recognizes PostScript comments starting with %svg% as SVG code.

%svg%<rect width="100" height="100"/>

seps2svg does not check whether the XML syntax is correct. It copies whatever it finds to the output SVG verbatim.

To see some more detailed use cases for this feature, check out Craig Sapp's example pages:

Motivation

One motivation was to learn and use some Ruby in the context of a real world task.