ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Feature request: use rsvg-convert
@ 2014-03-30 21:13 Thangalin
  0 siblings, 0 replies; only message in thread
From: Thangalin @ 2014-03-30 21:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

Re: http://wiki.contextgarden.net/Using_Graphics#Image_Conversion

I recommend using rsvg-convert instead of inkscape. For example:

wget http://en.wikipedia.org/wiki/File:Inkscape_0.48.2_with_Red_Gallardo.svg
-O car.svg
time rsvg-convert --format pdf car.svg --output car-rsvg.pdf
time inkscape --file=car.svg --export-pdf=car-inkscape.pdf --without-gui

wget http://openclipart.org/download/people/TheStructorr/TheStructorr_Lamborghini_Gallardo.svg
-O car2.svg
time rsvg-convert --format pdf car2.svg --output car2-rsvg.pdf
time inkscape --file=car2.svg --export-pdf=car2-inkscape.pdf --without-gui

Here, inkscape is slightly faster yet produces slightly larger files.

inkscape 0.48.4 r9939 (Jan 22 2014)
rsvg-convert version 2.40.2

More importantly, inkscape renders incorrectly. The horizontal and
vertical rule marks are missing in the first image. The gradient
shadows are missing in the second image, and the grill is incorrect
(looks like a layer order issue).
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-03-30 21:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-30 21:13 Feature request: use rsvg-convert Thangalin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).