Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #1144

downsampling images

Path csiph.com!usenet.pasdenom.info!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Michael Unger <spam.to.unger@spamgourmet.com>
Newsgroups comp.lang.postscript
Subject downsampling images
Date Tue, 04 Dec 2012 19:48:31 +0100
Organization not that I'm aware of ...
Lines 33
Message-ID <ai6v4lFolknU1@mid.individual.net> (permalink)
Reply-To 2012Q4.usenet.michaelunger@spamgourmet.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Trace individual.net 1zOLcnGK+kils8gJeL+2CA9hi1GSlCvHWrrJ9K2kHC6Bvj+eA7kDTOxknhUKX9Mvnx
Cancel-Lock sha1:qK022ubNxppSMMvQC54mYSCQFUc=
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.24) Gecko/20100228 SeaMonkey/1.1.19
Xref csiph.com comp.lang.postscript:1144

Show key headers only | View raw


I want to control the downsampling parameters of (JPEG) images from
within each PostScript program individually instead of modifying the
Distiller parameters ("joboptions" file) globally. The following lines
from the "joboptions" file seem to be relevant here:

|  << /DownsampleColorImages true
|     /ColorImageDownsampleType /Bicubic
|     /ColorImageResolution 300
                            ^^^ (1)
|     /ColorImageDepth -1
|     /ColorImageDownsampleThreshold 2.00000
                                     ^^^^^^^ (2)
|     /EncodeColorImages true
|     /ColorImageFilter /DCTEncode
|     /AutoFilterColorImages true
|     /ColorImageAutoFilterStrategy /JPEG
|  >> setdistillerparams

Am I correct assuming the "Resolution" (1) is the desired final image
resolution (dpi) to be embedded into the final PDF document and
"Threshold" (2) is a multiplier indicationg a resolution ratio above
which the downsampling will take place? (The JPEG iamges are converted
to EPS using the freeware utility "jpeg2ps" [1] and included via the
"run" command into the PostScript program.)

Michael


[1] <http://www.pdflib.com/download/free-software/jpeg2ps/>

-- 
Real names enhance the probability of getting real answers.
My e-mail account at DECUS Munich is no longer valid.

Back to comp.lang.postscript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

downsampling images Michael Unger <spam.to.unger@spamgourmet.com> - 2012-12-04 19:48 +0100
  Re: downsampling images Helge Blischke <h.blischke@acm.org> - 2012-12-04 22:32 +0100

csiph-web