From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72897 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: terrible png placement Date: Sat, 3 Dec 2011 14:49:46 +0100 Message-ID: References: <2C88B7F6-31FE-4B32-99C4-228053109DA3@uva.nl> 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="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1322920215 22827 80.91.229.12 (3 Dec 2011 13:50:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Dec 2011 13:50:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 03 14:50:11 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 1RWpyk-0007jF-6E for gctc-ntg-context-518@m.gmane.org; Sat, 03 Dec 2011 14:50:10 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 062EDCB111; Sat, 3 Dec 2011 14:50:07 +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 p0zffXpaWQS9; Sat, 3 Dec 2011 14:50:04 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5A1F3CB127; Sat, 3 Dec 2011 14:50:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B7BBACB127 for ; Sat, 3 Dec 2011 14:50:02 +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 u7UZDL6f2Gce for ; Sat, 3 Dec 2011 14:49:51 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 4A045CB111 for ; Sat, 3 Dec 2011 14:49:51 +0100 (CET) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pB3DnoRO009270 for ; Sat, 3 Dec 2011 14:49:50 +0100 Original-Received: by bkbzt12 with SMTP id zt12so2736965bkb.14 for ; Sat, 03 Dec 2011 05:49:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=GDcMJf3vyxBL6ySqvuzMtWk5+D8PiXKLlMX8YyC1qf4=; b=sdcB2XM8NyjirH6WJlabbEI0LJ5ubUQ7s2XZydsN08GOEOucIUJtjxsVfqdXmW4loT a2PBZ0Cf/81soNTzGvBs+S4b60l7B0Rj+AIcAu7qUIG7iSqToSvm5U2CjBj3Ek21Wc32 khxg5cj5TpjknazwGA3IpgR5cncJndUahZob4= Original-Received: by 10.180.85.4 with SMTP id d4mr3715177wiz.19.1322920189749; Sat, 03 Dec 2011 05:49:49 -0800 (PST) Original-Received: from [192.168.0.11] (seg75-6-82-236-32-4.fbx.proxad.net. [82.236.32.4]) by mx.google.com with ESMTPS id di5sm26384wib.3.2011.12.03.05.49.47 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 Dec 2011 05:49:48 -0800 (PST) In-Reply-To: <2C88B7F6-31FE-4B32-99C4-228053109DA3@uva.nl> X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.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: 0bG4BNONJ - 90014e3f417f - 20111203 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:72897 Archived-At: Hi Hans, On Mac OS X 10.7.2, testing your file I get afile of 110 KB with mkii, and = 72 KB with mkiv (from the minimals). You can find the outputs here: http://dl.dropbox.com/u/4316076/test-png-mkii.pdf http://dl.dropbox.com/u/4316076/test-png-mkiv.pdf All this with ConTeXt ver: 2011.11.29 23:11 MKIV fmt: 2011.12.2. Best regards: OK On 11 nov. 2011, at 11:13, Meer, H. van der wrote: > Sofar I received 2 reactions. > = > (1) = > 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. > = > (2) > I've encountered the same problem. The PDF is 1.8MB big. Compressed with = qpdf (qpdf --stream-data=3Dcompress) its only 60KB! > Latest beta on OS-X 10.7.2 > = > Further search for the cause: > = > My system is also OS-X 10.7.2 and latest beta. > To find the culprit I reverted to an older version of ConTeXt. > = > ConTeXt ver: 2011.10.14 22:47 MKIV fmt: 2011.11.11 int: english/english > Now the filesize becomes 72KB instead of 1.8 MB. > This one seems OK. > = > CONCLUSION: This must have been introduced in one of the beta's later th= an 2011.10.14 and in or before the current one: ConTeXt ver: 2011.11.04 14= :15 MKIV. > = > I kindly suggest Hans takes a look into the matter. > = > Hans van der Meer > = > = > On 10 nov. 2011, at 21:22, 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/engli= sh >> mkiv lua stats > graphics processing time - 0.001 seconds including te= x, 1 processed images > = > = > = > = > _________________________________________________________________________= __________ > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ %%%%%%%%%%%%%%%%%% Otared Kavian D=E9partement de Math=E9matiques Universit=E9 de Versailles Saint-Quentin B=E2timent Fermat 45 avenue des Etats Unis 78035 Versailles cedex T=E9l=E9phone: +33 1 39 25 46 42 Secr=E9tariat: +33 1 39 25 46 44 = Secr=E9tariat: +33 1 39 25 46 46 e-mail: Otared.Kavian@math.uvsq.fr ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________