Comment 7 for bug 171016

Revision history for this message
Vassilis Virvilis (vasvir) wrote :

Hi,

+1 for this

If I use the /dev/stdout trick it doesn't really work because inkscape writes other stuff in the stdout and corrupts the png exported image.

I have to use | tail -n +3

Generally it is a pain to work with it in filters

For example

inkscape -z -b white -e a2.png a2.svg
parsing error: 1:618:could not recognize next production --> this is stderr
Background RRGGBBAA: ffffffff --> the rest is stdout
Area 0:0:1536:816 exported to 1536 x 816 pixels (96 dpi)
Bitmap saved as: a2.png

Thanks in advance