From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68762 Path: news.gmane.org!not-for-mail From: "George N. White III" Newsgroups: gmane.comp.tex.context Subject: Re: compresslevel and png graphics (mkiv) Date: Thu, 26 May 2011 19:52:43 -0300 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 1306450391 23586 80.91.229.12 (26 May 2011 22:53:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 May 2011 22:53:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 27 00:53:03 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 1QPjQM-0003Yn-U0 for gctc-ntg-context-518@m.gmane.org; Fri, 27 May 2011 00:53:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2E448CAD83; Fri, 27 May 2011 00:53:02 +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 oilEjhHjkRjz; Fri, 27 May 2011 00:52:58 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 98721CAD27; Fri, 27 May 2011 00:52:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7E57ACAD24 for ; Fri, 27 May 2011 00:52:57 +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 TYJzpAN9FusD for ; Fri, 27 May 2011 00:52:46 +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 D5D11CAD60 for ; Fri, 27 May 2011 00:52:45 +0200 (CEST) Original-Received: from mail-pv0-f169.google.com (mail-pv0-f169.google.com [74.125.83.169]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4QMqh7O030611 for ; Fri, 27 May 2011 00:52:44 +0200 Original-Received: by pvc12 with SMTP id 12so646839pvc.14 for ; Thu, 26 May 2011 15:52:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=QQmrLsgzmxn4nez0wVHqZHMKz8PYTRK29GanYF0h/3g=; b=XT1Mg5Lr/cqRKEEKbyh4JN7TidcCk1slNU2eX4IQnCgwxK77CERaxM89GPX2P41StD frPXHh7CDFG932ImsaEEM/I/0TkTX7PhvB2mW2T2xJofdlpFXEyUXJ60/S0ja4/TY6Nu u47Rgm4WvXvF1F15kBFvEGtbht6PTKeFnVqh8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DfrjyxQzeNYCAGhi2T/vZyXC3+HII47Jnl3UNjrZ+T+CZ92MzM3IKfJ4lpcHg3NcQL Y1PdV2dXGCzqDKxa+j9NnJ3owF5L/VVdYHnf5Kb2SdaMS6ZLOgs13jDrJcLWmf0F1wnL jZQ94Jyapa2EoymAJjbFn9qlCYmWbG3kxc/NY= Original-Received: by 10.68.55.10 with SMTP id n10mr538460pbp.476.1306450363213; Thu, 26 May 2011 15:52:43 -0700 (PDT) Original-Received: by 10.68.46.73 with HTTP; Thu, 26 May 2011 15:52:43 -0700 (PDT) In-Reply-To: <4DDD14ED.7010009@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.169; 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: 08EMmQIOB - d296af14774e - 20110527 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:68762 Archived-At: On Wed, May 25, 2011 at 11:40 AM, Hans Hagen wrote: > On 25-5-2011 2:43, Peter Rolf wrote: >> >> Hi, >> >> I just made a one pager (TEXpage) out of a big png graphic (5900x4094). >> The compressed size of the graphics is normally around 1.37MB on the >> highest png compress level (9) and 1.32MB after using optipng (only >> around 3% reduction this time). To my surprise the size of the final PDF >> was about 2.3MB. After adding '\pdfcompresslevel9' the size went down to >> 1.48MB. Still not what I wanted... > > Normally I convert such images to pdf first (using acrobat or gs) simply > because inclusion of pdf is much faster. I too convert images to pdf first, but my mainly because I can control the details of the conversion to get the best result for each (type of) image. Some images are well suited to jpeg compression, others are better with reduced color space and lossless compression. The ability to directly include images in tex should be seen as a convenience, but not a basis for a workflow where the final product has requirements for minimal size, color rendition, etc. There are many free image to pdf tools that all do the easy cases adequately but don't give the level of control needed for the difficult cases. SVG is different because much of it is based on a graphics model that resembles PDF. Some SVG documents translate directly to PDF, but others, e.g., markers, may "blow up" when translated. -- George N. White III Head of St. Margarets Bay, Nova Scotia ___________________________________________________________________________________ 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 ___________________________________________________________________________________