ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vit Zyka <vit.zyka@seznam.cz>
Subject: Re: Downsampling images in pdfTeX
Date: Tue, 27 Jul 2004 21:36:39 +0200	[thread overview]
Message-ID: <4106AEC7.7090508@seznam.cz> (raw)
In-Reply-To: <Pine.SGI.4.61.0407271422070.642818@montigo.bio.dfo.ca>

>> 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

  reply	other threads:[~2004-07-27 19:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-24 19:41 ConTeXt output & commercial printing houses Matt Gushee
2004-07-24 20:21 ` Bill McClain
2004-07-24 20:25   ` Siep Kroonenberg
2004-07-25  9:57 ` Henning Hraban Ramm
2004-07-25 10:01 ` Mats Broberg
2004-07-25 11:58   ` Adam Lindsay
2004-07-25 12:03     ` Mats Broberg
2004-07-27  6:15       ` ConTeXt output & commercial printing houses: Thanks! Matt Gushee
2004-07-27  6:33         ` Brooks Moses
2004-07-27  9:27           ` Siep Kroonenberg
2004-07-27 11:53           ` George N. White III
2004-07-27 15:28             ` Downsampling images in pdfTeX Mats Broberg
2004-07-27 17:47               ` George N. White III
2004-07-27 19:36                 ` Vit Zyka [this message]
2004-07-28 15:54                 ` Peter Münster
2004-07-27  7:36         ` ConTeXt output & commercial printing houses: Thanks! Tobias Hilbricht
2004-07-27 11:47         ` Bill McClain
2004-07-27 15:51         ` Mats Broberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4106AEC7.7090508@seznam.cz \
    --to=vit.zyka@seznam.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).