[pdftex] Re: pdftex] pdftex = acrobat ?

Nelson H. F. Beebe beebe at math.utah.edu
Fri Oct 21 23:26:20 CEST 2005


An easier solution to the problem of converting a collection of JPEG
images to PDF files is the ImageMagick convert utility (standardly
installed on GNU/Linux systems, available at

	ftp://ftp.imagemagick.org/pub/ImageMagick/
	http://www.imagemagick.org/

):

	convert foo.jpg foo.pdf

On Unix systems with bash/ksh/sh/zsh syntax, the conversion is a
one-liner:

	for f in *.jpg ; do convert $f `basename $f .jpg`.pdf ; done

This preserves images sizes, AS LONG AS the original JPEG images fit
on a page.  In experiments that I just made, large JPEGs were downsize
to fit a page-sized box of the same aspect ratio as the image.

Under magnification, the JPEG and PDF file images appear to be
identical on my screen.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe at math.utah.edu  -
- 155 S 1400 E RM 233                       beebe at acm.org  beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------



More information about the pdftex mailing list