piqnt / svgexport

SVG to PNG/JPEG command-line tool and Node.js module
926 stars 84 forks source link

suggestion: pipes #1

Open rolfn opened 9 years ago

rolfn commented 9 years ago

I suggest the special filename "-" for input and also for output. "-" should have the meaning use an input stream or an output stream instead of an input file or an output file. This would allow things like the following:

svgexport file.svg - | lpr

or

mySVGcreator | svgexport - file.pdf

Many thanks for your nice program!

...Rolf

shakiba commented 9 years ago

Thanks, this is interesting. But I guess I will not be able to implement it very soon, mainly because it is a little tricky to implement it with phantomjs.