JPG2PDF(1) BSD General Commands Manual JPG2PDF(1)NAME
jpg2pdf — Convert JPG images to PDF or Postscript
SYNOPSIS
jpg2pdf [options] file [file ...] [destination | -]
DESCRIPTION
The jpg2pdf program creates a Postscript or PDF file with one JPEG image
per page. Input file names must be supplied on the command line, whereas
the output file is either a file or the standard output. The image is
printed at the top left corner of the page, but it can be moved or cen‐
tered with options.
The output type (Postscript or PDF) is determined from the suffix of the
output file, defaults to PDF if not recognised, and can be manually
forced with the -pdf or -ps options.
By default, the image is normally printed at 72dpi and scaled if it does
not fit the page size. The scaling factor or density can be manually
forced with options.
Options are:
-dpi value
Considers the image to have density value dots per inch. The
value is used to scale the image.
-paper A4 | A4R | Letter | A5 | A3
Sets the paper type to the type specified
-pdf Forces the output to PDF
-ps Forces the output to Postscript Ignored if -xofs value -yofs
value -margin value Set the x or y offset or margin to the value
specified as argument, interpreted as 1/72 inch units. -v Sets
verbose mode, printing additional info on stder while processing.
RETURN VALUES
The program exits with an error if one of the input files cannot be pro‐
cessed.
BSD January 13, 2009 BSD