ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Siep Kroonenberg <siepo@cybercomm.nl>
Subject: Re: Dithering (off-topic)
Date: Fri, 31 Oct 2003 16:17:36 +0100	[thread overview]
Message-ID: <20031031151736.GA1249@bitmuis.thuis.nl> (raw)
In-Reply-To: <3FA245CC.30502@econ.muni.cz>

On Fri, Oct 31, 2003 at 12:21:48PM +0100, Michal Kvasnicka wrote:
> Good evening.
> 
> I apologize to ask a little off-topic question, but I don't know where 
> to ask (and it is closely related to TeX and PDF).
> 
> I typeset a church bulleting. It is printed on a laserjet printer (600 
> dpi), and then copied on a copy machine. As for letters, all is right. 
> But figures (photos) are this way spoiled. I guess it would help either 
> to force PDF to print the figures in some very low resolution (150 dpi), 
> or (probably better) to dither the figures and include them in PNG 
> (instead of ordinary JPEG). Can some of you tell me how to do it? I 
> tried ImageMagick's convert to dither the photos, but outcomes were 
> really poor. Is there some good free software for this (in the best case 
> in Linux)? Or can I do it some way in PDF?
> 
> Many thanks for any hint.
> Michal Kvasnicka

A PostScript solution: create a dvips header file for course
rasterization:

%!
/bop-hook {53 45{dup mul exch dup mul
  add 1. exch sub}setscreen} def

These numbers (raster frequency and angle) are probably ok for
600dpi; otherwise, experiment a bit.

Call it coarse.pro and give dvips a parameter -h coarse.pro

-- 
Siep Kroonenberg
siepo@cybercomm.nl

      parent reply	other threads:[~2003-10-31 15:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-31 11:21 Michal Kvasnicka
2003-10-31 12:37 ` Bill McClain
2003-11-04 13:34   ` Michal Kvasnicka
2003-11-04 15:48     ` Bill McClain
2003-10-31 15:17 ` Siep Kroonenberg [this message]

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=20031031151736.GA1249@bitmuis.thuis.nl \
    --to=siepo@cybercomm.nl \
    --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).