From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72315 Path: news.gmane.org!not-for-mail From: Pontus Lurcock Newsgroups: gmane.comp.tex.context Subject: Re: terrible png placement Date: Fri, 11 Nov 2011 20:55:21 +1300 Message-ID: <20111111075521.GO10983@rae.vm.bytemark.co.uk> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1320998133 31551 80.91.229.12 (11 Nov 2011 07:55:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Nov 2011 07:55:33 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 11 08:55:29 2011 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 1ROlxQ-0005x8-O7 for gctc-ntg-context-518@m.gmane.org; Fri, 11 Nov 2011 08:55:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 78144CB0C9; Fri, 11 Nov 2011 08:55:28 +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 Qwu0J8mcGxg6; Fri, 11 Nov 2011 08:55:25 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8643CCB0CD; Fri, 11 Nov 2011 08:55:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D5B03CB0CD for ; Fri, 11 Nov 2011 08:55:24 +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 DHu3sYm3sddA for ; Fri, 11 Nov 2011 08:55:22 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id E6E04CB0C9 for ; Fri, 11 Nov 2011 08:55:22 +0100 (CET) Original-Received: from rae.vm.bytemark.co.uk (rae.talvi.net [89.16.174.99]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pAB7tMvJ021303 for ; Fri, 11 Nov 2011 08:55:22 +0100 Original-Received: from pont by rae.vm.bytemark.co.uk with local (Exim 4.69) (envelope-from ) id 1ROlxJ-0006rH-KV for ntg-context@ntg.nl; Fri, 11 Nov 2011 07:55:21 +0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.16.174.99; country=GB; latitude=54.0000; longitude=-2.0000; http://maps.google.com/maps?q=54.0000,-2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eFTHTm4P - 3bfc180bad60 - 20111111 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:72315 Archived-At: On Thu 10 Nov 2011, Hans van der Meer wrote: > Something terrible must be done to png pictures, either in ConTeXt or in luatex. > I have the following minimal sample code and picture. I include the png for those who want to check. > > % Test png addition. > \starttext > Place png figure.\par > \placefigure{Test figure}{\externalfigure[test.png]} > \stoptext > > Without the png-picture it makes an 8KB pdf. > But with the png-picture the pdf swells to 1.8MB. > And that for a png-picture of only 48KB. > Moreover making a zip of all this stuff brought the size back to 110KB. > In the log: > ConTeXt ver: 2011.11.04 14:15 MKIV fmt: 2011.11.10 int: english/english > mkiv lua stats > graphics processing time - 0.001 seconds including tex, 1 processed images Can't reproduce here; I get a 70KB pdf with your file and image. ConTeXt standalone, 32-bit Linux, mkiv, version 2011.10.01 10:48. Pont ___________________________________________________________________________________ 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 ___________________________________________________________________________________