From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/15842 Path: main.gmane.org!not-for-mail From: Vit Zyka Newsgroups: gmane.comp.tex.context Subject: Re: Downsampling images in pdfTeX Date: Tue, 27 Jul 2004 21:36:39 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <4106AEC7.7090508@seznam.cz> References: <001101c473ee$6e1cac00$fcb359d5@DJCPX90J> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1090958642 15255 80.91.224.253 (27 Jul 2004 20:04:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Jul 2004 20:04:02 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 27 22:03:50 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BpYAw-0002NV-00 for ; Tue, 27 Jul 2004 22:03:50 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4B7F21276F; Tue, 27 Jul 2004 22:03:49 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13259-06; Tue, 27 Jul 2004 22:03:49 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D29DD12775; Tue, 27 Jul 2004 21:36:07 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2737F12775 for ; Tue, 27 Jul 2004 21:36:06 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13025-04 for ; Tue, 27 Jul 2004 21:36:05 +0200 (CEST) Original-Received: from smtp.seznam.cz (unknown [212.80.76.43]) by ronja.ntg.nl (Postfix) with SMTP id 8BC6112772 for ; Tue, 27 Jul 2004 21:36:05 +0200 (CEST) Original-Received: (qmail 11360 invoked from network); 27 Jul 2004 19:35:47 -0000 Original-Received: from unknown (HELO ?192.168.1.45?) (vit.zyka@82.142.74.35) by smtp.seznam.cz with SMTP; 27 Jul 2004 19:35:47 -0000 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: cs, en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:15842 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:15842 >> Having checked the pdfTeX documentation, doesn't the internal parameter >> \pdfcompresslevel deal with this? The documentation says: >> >> "compress level This integer parameter specifies the level of text and >> in-line graphics compression. pdfTEX uses zip compression as provided by >> zlib. A value of 0 means no compression, 1 means fastest, 9 means best, >> 2..8 means something in between. Just set this value to 9, unless there >> is a good reason to do otherwise - 0 is great for testing macros that >> use \pdfliteral." > > > The compression this parameter controls is quite different. Without > compression (e.g., \pdfcompresslevel=0) a PDF file consists of almost > readable text. Even images can be stored in an ASCII encoding. Setting > a non-zero value for \pdfcompresslevel applies a lossless compression > algorithm to objects in the pdf file. For exactness. Primitive \pdfcompresslevel influences lossless compression of 1) content of pdf objects 2) included PNG images (they are decoded and encoded again) In case of inclusion of PDF, it is put as it is (so compresslevel is not changed). JPG is also untouched. It was valid for pdfTeX version <1.0. I have no info about changes in this case. Vit Zyka