[cairo] [PATCH] xsvg - support png to stdout using "-" filename

John Ellson ellson at research.att.com
Fri Apr 16 09:36:19 PDT 2004

This proposed change to xsvg adds support for a special case filename
of "-" to mean stdout when used with the -p option.

The change also documents the use of "-" for stdin and stdout in --help 

This patch permits xsvg to be used as an svg-to-png filter in pipes, e.g:

    echo 'digraph G {A->B}' | dot -Tsvg | xsvg -p - - | xv -

John Ellson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xsvg.diff
Type: text/x-patch
Size: 974 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20040416/0bd6cfcd/xsvg.bin

More information about the cairo mailing list