Skip to content

Merges one JPEG image to a portable document format (PDF) file on the Windows platform with the help of Ghostscript.

License

Notifications You must be signed in to change notification settings

netbrothers-gmbh/win-jpeg-to-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

win-jpeg-to-pdf

Merges one JPEG image to a portable document format (PDF) file on the Windows platform with the help of Ghostscript.

Prerequisites

This script requires

  • Ghostscript to be installed on the system (download page)
  • an environment variable named GSWIN pointing to the Ghostscript binary
  • and an environment variable named GSWIN_LIBDIR pointing to the Ghostscript library.

Usage

Once the GSWIN environment variable is set to the correct path, e.g. "C:\Program Files\gs\gs9.16\bin\gswin64.exe" and the GSWIN_LIBDIR environment variable is set to the correct path, e.g. "C:\Program Files\gs\gs9.16\lib", the script can be invoked as follows.

win-jpeg-to-pdf.bat Input.jpg Output.pdf

About

Merges one JPEG image to a portable document format (PDF) file on the Windows platform with the help of Ghostscript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published