ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Thangalin <thangalin@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Feature request: use rsvg-convert
Date: Sun, 30 Mar 2014 14:13:12 -0700	[thread overview]
Message-ID: <CAANrE7rX5+GF19ZxBpC1Q2Lfnao+BSQB9G9_uUGfE3tNEEhtMA@mail.gmail.com> (raw)

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
___________________________________________________________________________________


                 reply	other threads:[~2014-03-30 21:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAANrE7rX5+GF19ZxBpC1Q2Lfnao+BSQB9G9_uUGfE3tNEEhtMA@mail.gmail.com \
    --to=thangalin@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).