From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86850 Path: news.gmane.org!not-for-mail From: Thangalin Newsgroups: gmane.comp.tex.context Subject: Feature request: use rsvg-convert Date: Sun, 30 Mar 2014 14:13:12 -0700 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1396214015 3828 80.91.229.3 (30 Mar 2014 21:13:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Mar 2014 21:13:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 30 23:13:31 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WUN2p-00075y-Fd for gctc-ntg-context-518@m.gmane.org; Sun, 30 Mar 2014 23:13:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BDE5410204; Sun, 30 Mar 2014 23:13:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XsTR-gk+6z03; Sun, 30 Mar 2014 23:13:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 8E673101E9; Sun, 30 Mar 2014 23:13:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C484F101E9 for ; Sun, 30 Mar 2014 23:13:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id q9+uh7zkc0lB for ; Sun, 30 Mar 2014 23:13:25 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id EC944101E7 for ; Sun, 30 Mar 2014 23:13:15 +0200 (CEST) Original-Received: from mail-ie0-x22f.google.com (mail-ie0-x22f.google.com [IPv6:2607:f8b0:4001:c03::22f]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s2ULDDqT006569 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Sun, 30 Mar 2014 23:13:14 +0200 Original-Received: by mail-ie0-f175.google.com with SMTP id to1so6763945ieb.6 for ; Sun, 30 Mar 2014 14:13:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=tbToEGOq2HYmMkVUWR883CYN6Ljt9JibcPY9sXiJylA=; b=elHksVhEIoP6YSlL4G4F2RewDDuSHK6bLaBG+QuNiJVS/3TT7BFyMHYVbX/3hWGhE/ 7FDgqUVDBHr8drhVP9HZKxsc84s3ooUE7ST3kqCt02LaoLZTqhHuNpFv1ETs69Ap3TE2 7LckTwY9uPG5oSQk6THaHFgZMd3ehneiqNxg13c0q/7+Vb+fZRX2ciwV0hnTcICbvtd2 InCPVoTVfGLNLxvYKmdrnRtDOFNznOxhPZy1nn9kDOlOKNNORlMc8k0zldchNmQfdues Htl5JY/b+9Yaks1Y/7VNMdZ9rEN5QdQUw0+bjpEpc57nUX40+WCoCfDLkfEGcikOozm+ 1FJg== X-Received: by 10.42.92.194 with SMTP id u2mr24489894icm.19.1396213992413; Sun, 30 Mar 2014 14:13:12 -0700 (PDT) Original-Received: by 10.43.18.69 with HTTP; Sun, 30 Mar 2014 14:13:12 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4001:c03::22f; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RLHVde91 - 078058c02744 - 20140330 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:86850 Archived-At: 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 ___________________________________________________________________________________