[pdftex] replacing images in a pdf?

Reinhard Kotucha reinhard.kotucha at web.de
Mon Nov 5 03:24:37 CET 2007


Karl Berry writes:
 > (I realize this isn't exactly on-topic, sorry.)  Does anyone know of a
 > reasonable way to replace the images in an existing pdf using free tools?
 > (I don't insist on free software for this, though. :)
 > 
 > I have a pdf with unnecessarily high-res images; I can extract them with
 > pdfimages, and downsample them with pnmtojpeg (among others), but I
 > don't know any way to reintegrate them back into the pdf.  The new
 > versions will have the same width x height, so it's (presumably) just a
 > matter of getting them into the pdf in place of the old ones.
 > 
 > Searching the web turns up solutions involving full versions of Acrobat and
 > Photoshop, which I don't have (or want).

  http://www.accesspdf.com/pdftk

comes into my mind.  The relevant options are uncompress/compress.

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-4592165
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------


More information about the pdftex mailing list