From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68759 Path: news.gmane.org!not-for-mail From: mathew Newsgroups: gmane.comp.tex.context Subject: Re: compresslevel and png graphics (mkiv) Date: Thu, 26 May 2011 12:55:49 -0500 Message-ID: References: <4DDCF96A.3050703@gmx.net> <4DDD14ED.7010009@wxs.nl> 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 1306432572 6290 80.91.229.12 (26 May 2011 17:56:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 May 2011 17:56:12 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu May 26 19:56:07 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 1QPen1-0001aI-0K for gctc-ntg-context-518@m.gmane.org; Thu, 26 May 2011 19:56:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1AAEECAD88; Thu, 26 May 2011 19:56:06 +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 ZsEK1pPeC4X8; Thu, 26 May 2011 19:56:03 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8997DCAD85; Thu, 26 May 2011 19:56:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B50ABCAD85 for ; Thu, 26 May 2011 19:56:01 +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 4jYXriQsqRUn for ; Thu, 26 May 2011 19:55:50 +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 DB80BCAD84 for ; Thu, 26 May 2011 19:55:50 +0200 (CEST) Original-Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com [74.125.82.41]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4QHtoGj029726 for ; Thu, 26 May 2011 19:55:50 +0200 Original-Received: by wwi18 with SMTP id 18so4628455wwi.2 for ; Thu, 26 May 2011 10:55:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=F6OlRgoPEiEGy5O4kljofWtmoXTInNBJ4fBOq0FULvs=; b=SfAMy+DYy6TtGPr9Y73u41QiHc4AbHDQuc6g4EdrUKfXIj2WTREwMEX2MM6rLNFFdi FMG/EIgtElLPUHcfQYRjZJE3/ZnHVFjoCTeVCQ52wcRd+rk4EPOKartM/+jp0Hp+LOMj 96PuRw7QGIdu6CShZ4d/U7G2yvQadq2SqxC8s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=Y8yPLfW4vPdKCfDi37xaPUcFr9BiWWqSWZdfoqtDfdZOQW1bhFRgz4TrHDYiS89EHh W9g71TdhX6UvbiykpdWbBmhiPBSC+KMAuNGr0Ll/X6B1ORm5NGE5sSlo3vY+EVincGpP NDqfAvd7dwouJYUsw3l08ynLeIDEHgH64Hdro= Original-Received: by 10.227.197.83 with SMTP id ej19mr1109278wbb.105.1306432549797; Thu, 26 May 2011 10:55:49 -0700 (PDT) Original-Received: by 10.227.71.197 with HTTP; Thu, 26 May 2011 10:55:49 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: heb95RDfgP2UOn11gID1lpCOXcQ X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.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: 08EMhTOwr - 988b445ef26e - 20110526 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:68759 Archived-At: On Thu, May 26, 2011 at 12:32, mathew wrote: > But I just experimentally preconverted all my PNGs to PDF using > ImageMagick, and my document dropped from 411k to 98k. The PNGs had > previously been optimized with pngnq, so they were only 99k, and are > 177k when converted to PDF, so this result is surprising. Unfortunately, it looks as if it's not as general a result as the "use EPS rather than PDF for SVG" rule. I just tried another document, and that one grew by 90k when I preconverted the PNGs to PDF (again using ImageMagick). So it seems the answer to whether PDF or PNG gives better final document size is to try both and see what happens. Not really ideal. mathew ___________________________________________________________________________________ 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 ___________________________________________________________________________________