[pdftex] pdftex = acrobat ?

Heiko Oberdiek oberdiek at uni-freiburg.de
Fri Oct 21 13:10:19 CEST 2005

On Fri, Oct 21, 2005 at 10:01:18AM +0200, Thierry Bouche wrote:

> suppose I just want to make a PDF from a collection of JPEG files.
> is  there an easy way so that each page of the PDF has exactly the
> cropbox set to the JPEG dimension?

You can use the LaTeX package pdfpages. It works for JPEG files, too.
However it sets the media box.

> (using pdflatex, I suppose I should hook the cropbox declaration between
> the time when includegraphics reads the .jpeg and when it genereates the
> page?)

You can put the \includegraphics in a box for measurement and
set the /CropBox[...] in \pdfpageattr.

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>

More information about the pdftex mailing list