Jpg2pdf - Help

JPG2PDF Ver 1.11 (2016-12-04)

A program to assemble scanned page images into a single PDF format document.

The program can be used manually but it is designed for use in other programs. It runs in the background without a console window.

0. CONTENTS

  1. INSTALLATION
  2. USAGE
  3. KNOWN ISSUES
  4. LICENSE
  5. CREDITS
  6. CONTACT

1. INSTALLATION

Run the installer and follow the on-screen instructions. Unless you tell it otherwise, the default is to install all of the needed files in the usual "Program Files" directory. The only registry entries added are those needed for the uninstaller process (Start / Control Panel / Add or Remove Software).

The installer will also add a "jpg2pdf.bat" file to a %USERPROFILE%\bin directory and that directory to your PATH. See this article for why. You can untick that option during the install if you don't need it.

2. USAGE

At the command line:

C:\> [path\]jpg2pdf -c a4 file.jpg to.pdf

This will create an A4 sized PDF file called "to.pdf" that is a copy of "file.jpg". The original file (file.jpg) is unchanged.

Other options for the PDF paper size are: letter and legal.

If you installed the program with "Include easier command prompt access", you can leave off the [path\] bit. If not, you will need to specify the path to the program. Typically this is:

"C:\Program Files (x86)\GssEzisoft\Jpg2pdf\jpg2pdf"

The quotation marks are needed if the [path\] includes spaces (as shown in the example above). If you installed into a different directory then you'll need to use that instead of the above default.

For multiple pages, use "file1.jpg file2.jpg ..." instead of file.jpg. Given that this includes spaces, you need to put a quotation mark before the first JPEG file and after the last one. The program needs to see this entire list of files as the file.jpg parameter. The program will create a PDF file with one page per JPEG. The pages will be in the order you list them.

If you have a lot of files to put into the PDF, you can use @list.txt where list.txt contains a list of file1.jpg file2.jpg etc. You can put each file on a separate line in the list.txt file if you like.

If all of the JPEG files are in a directory the following also works:

C:\> [path\]jpg2pdf -c a4 dir\*.jpg to.pdf

You can also include a prefix (or similar) if you only want to use some of the JPEGs in the directory (eg dir\scan*.jpg).

Image Sizes. Each JPEG image will be scaled up or down to fit the PDF page size. This happens without altering the quality of the image in the PDF so you can zoom the PDF to see any fine detail that was in the original scan.

3. KNOWN ISSUES

None as yet.

4. LICENSE

See license.html in the program directory.

A copy is available at:
license.html

5. CREDITS

This software uses the Haru Free PDF Library.
See sourceforge.net for details.
HARU is used under the ZLIB/LIBPNG License.

6. CONTACT

You can contact the author via the website:
http://www.gssezisoft.com