From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74022 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \externalfigure and file size Date: Fri, 20 Jan 2012 01:14:22 +0100 Message-ID: <15DC3B13-89D2-4D60-8520-41E925DA9A40@googlemail.com> References: <1326932737.5532.74.camel@kip-laptop> <4F17F755.5060200@gmx.net> <1327017688.5532.98.camel@kip-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1327018490 26428 80.91.229.12 (20 Jan 2012 00:14:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 Jan 2012 00:14:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 20 01:14:46 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ro27y-00043X-33 for gctc-ntg-context-518@m.gmane.org; Fri, 20 Jan 2012 01:14:46 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D93A8CB1FE; Fri, 20 Jan 2012 01:14:45 +0100 (CET) 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 C9M1Af18y3J5; Fri, 20 Jan 2012 01:14:43 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 83315CB207; Fri, 20 Jan 2012 01:14:43 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 20A16CB1FE for ; Fri, 20 Jan 2012 01:14:43 +0100 (CET) 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 jbJQkeyZ5KDa for ; Fri, 20 Jan 2012 01:14:41 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id B7F0FCB207 for ; Fri, 20 Jan 2012 01:14:32 +0100 (CET) Original-Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q0K0EWmF015697 for ; Fri, 20 Jan 2012 01:14:32 +0100 Original-Received: by eekc13 with SMTP id c13so5226eek.14 for ; Thu, 19 Jan 2012 16:14:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=8MvtIwTqpYtjXCSKJf03+VNipjrT+ExfBGRS6y0Jf0M=; b=MyXkn8p8wRjWHks+tjeA5s2sIlUa0YkD8XR0x25a61E/pNPWjhuph8h0IMuUGlGLvz ssWG0vMirmLJPXSqfP7oCb/aFrvaf5rcHquKJ/OUoQlHLd/HRsRtDq56gJv7OXyPPOzv Q4SM9txnXbx1DX139Cbm19zyL7ycLbOhllaqw= Original-Received: by 10.213.15.131 with SMTP id k3mr7069245eba.37.1327018471972; Thu, 19 Jan 2012 16:14:31 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFA741.dip.t-dialin.net. [87.175.167.65]) by mx.google.com with ESMTPS id r2sm4266643eef.7.2012.01.19.16.14.28 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 19 Jan 2012 16:14:31 -0800 (PST) In-Reply-To: <1327017688.5532.98.camel@kip-laptop> X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rGnAeww6 - bd77b74357c9 - 20120120 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:74022 Archived-At: Am 20.01.2012 um 01:01 schrieb Kip Warner: > On Thu, 2012-01-19 at 11:58 +0100, Peter Rolf wrote: >> Probably because the exported PDF contains a raster image (at least the >> blured part). If you use Inkscape to save your SVG logo as PDF, you will >> see a dialog box with an option for this (rasterize filter effects). >> Remove the hook and you'll get a small, but unblured PDF graphic. > > Hey Peter. The original SVG is about 7KB. With rasterize off and > exported to PDF, its under 2KB. With rasterize on, its still only 78KB. > Whatever ConTeXt is doing with it, that 7KB SVG gets bloated to nearly a > meg at 976KB. This happens as Logo.svg is transformed into intermediate > m_k_i_v_Logo.pdf. Something's up. When you look into graph-inc.lua you can see that context use inkscape --export-dpi=600 -A to convert the svg to pdf. Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________