Image to PDF Converter

How convert image to PDF/X compliance PDF via command line

The command line application Image to PDF Converter is able to convert JPG, PNG, BMP, GIF, TIFF, PSD, WMF, EMF, PCX, PIC, etc. images to PDF/X compliance PDF.

PDF/X is an umbrella term for several ISO standards that define a subset of the PDF standard, which is used to facilitate graphics exchange. PDF/X files must not only follow certain restrictions, they also must contain a special file identification inside the PDF.

Image to PDF Converter is a professional command line application that can convert image to PDF/X compliance PDF.

To know how to use this command line application to convert image file to PDF/X compatible PDF, please follow the instructions below.

Firstly, please free download the installer of Image to PDF Converter. Unlike other application, you don’t need to install it after the download. You just unzip the downloaded file to a disk on your computer and then you can use it. In the unzipped file folder, you can see an executable file named as img2pdf.exe which is the called program.

Secondly, please open MS-DOS interface (MS-DOS command prompt window) in which you can input your commands.

After that, please refer to the following command line template to input commands in the MS-DOS command prompt window.

img2pdf [options] <Image-file> [<PDF-file>]

In the above command line template,

  • img2pdf: call the program
  • [options]: set options for the conversion
  • <Image-file>: specify the source image file
  • [<PDF-file>]: specify the target PDF file

In order to convert the image file to PDF/X compliance PDF file, please use the option: -pdfx which is used to create PDF/X compliance PDF file.

For example,

img2pdf.exe -pdfx C:\in.jpg C:\out.pdf

This example is to convert a JPG image to PDF/X compliance PDF file.

After inputting the commands, please press the Enter button on your keyboard.

Several seconds later, you can get the target PDF document.

Please see the conversion effect from the following snapshot.

input image

Input image

output PDF file

Output PDF file

If you want to know more options and usage of this command line application, you can read the TXT document readme.txt in the unzipped file folder or input the path of img2pdf.exe in MS-DOS command prompt window and press Enter button on the keyboard to see all the options and usage of the application.

If you want to enjoy full version of this command line application, please buy Image to PDF Converter here.

Image to PDF Converter

How convert image to PDF and merge PDF via command line

With the help of the application Image to PDF Converter, you can convert multiple images to PDF and merge PDF via command line. If you want to know how to make this kind of conversion, please continue to read the contents in this article.

Image to PDF Converter is a powerful command line application that can convert different kinds of images (JPG, PNG, BMP, GIF, TIFF, PSD, WMF, EMF, PCX, PIC, etc.) to PDF. What’s more, it supports to merge several PDF files into one PDF file and merge PDF files from a TXT file.

If you need to use this application to convert images to PDF and merge the created PDF file with other files, please go on reading the following contents.

1.Download & unzip

At first, please free download Image to PDF Converter. There are no setup steps or installation of any third-party applications. You just need to extract the ZIP file to a disk on your computer. In the unzipped file folder, there is an executable file named as img2pdf.exe which is the called program of this application.

2. Input commands to convert images to PDF

This application is MS-DOS oriented, so you need to open MS-DOS interface to input your commands at first. If you want to know how to use this application, you can browse the TXT file readme.txt in the unzipped file folder or input the file path of img2pdf.exe in opened MS-DOS interface and hit Enter button on the keyboard to see all the options and usage of the application.

By referring to the following command line template, you will be able to write your own commands.

img2pdf [options] <Image-file> [<PDF-file>]

For example,

img2pdf.exe C:\in.jpg C:\out.pdf

This example is to convert a JPG image to a PDF document.

3. Input commands to merge PDFs

In order to merge PDFs, please use the following options:

-mergepdf <string> : merge two PDF files into one PDF file

  • -mergepdf "file1|file2|file3|..." : merge several PDF files into one
  • -mergepdf "C:\filelist.txt" : merge PDF files from a .txt file
  • -mergepdf "C:\*.pdf" : merge PDF files into one PDF file

For instance,

img2pdf.exe -mergepdf "C:\1.pdf|C:\2.pdf|C:\3.pdf" C:\out.pdf

img2pdf.exe -mergepdf "C:\filelist.txt" C:\out.pdf

The first example is to merge the three PDF files into one PDF file. The second example is to merge PDF files from a TXT file.

When you finish inputting the commands, please hit Enter button to run the conversion at once.

If you are interested in this command line application, please buy Image to PDF Converter here.

Image to PDF Converter

How to convert image to PDF and set page margin to PDF

Do you want to convert a series of image to PDF for printing, sending via e-mail or web publishing? If so, the application Image to PDF Converter will be a good choice for you.

Image to PDF Converter is a professional command line application. With it, you can convert various images (JPG, PNG, BMP, GIF, TIFF, PSD, WMF, EMF, PCX, PIC, etc.) to PDF. With it, you can also set different parameters  such as set PDF page margin, page size, resolution, PDF properties, PDF passwords, etc. for the created PDF document.

Just by following the instructions shown below, you can successfully convert multiple images to a single PDF document and redefine page margin for the created PDF document.

Firstly, please download the package of Image to PDF Converter.

After the download, please extract the ZIP file to a folder on your computer disk. In the extracted folder, there is an executable file named img2pdf.exe which is the called program in the MS-DOS command prompt window.

Then, please open MS-DOS command prompt window so that you are able to input commands.

After that, please follow command line template shown below to input your commands.

img2pdf [options] <Image-file> [<PDF-file>]

In this command line template:

  • img2pdf: call the program
  • [options]: set parameters
  • <Image-file>: specify the input image
  • [<PDF-file>]: specify the output PDF

To set page margin to the converted PDF, you can use the following options:

-margin <string> : set page margin to PDF file

  • -margin 10 : set margin to 10pt to left
  • -margin 10x10 : set margin to 10pt to left, top
  • -margin 10x10x10 : set margin to 10pt to left, top, right
  • -margin 10x10x10x10 : set margin to 10pt to left, top, right, bottom

If you still don’t understand the above command line template and options, maybe the following example can help you.

img2pdf.exe -margin 100x100x100x100 C:\in. jpg C:\out.pdf

This example is to convert a JPG image to PDF and set top margin, bottom margin, left margin and right margin of the PDF page as 100pt respectively.

Lastly, please click the Enter button on the keyboard to run the commands.

After a while, you can get the output PDF document.

If you want to know more options and usage of this command line application, you can browse the TXT document named as readme.txt in the unzip package.

If you want to get full version of this command line application, you can buy Image to PDF Converter here.

Image to PDF Converter

How to deskew/despeckle black and white image to PDF

This article is mainly about how to deskew/despeckle black and white image to PDF with the command line application Image to PDF Converter.

Image to PDF Converter is a powerful application that can convert JPG, PNG, BMP, GIF, TIFF, PSD, WMF, EMF, PCX, PIC, etc. image files to PDF and make different settings such as set page size, resolution, PDF passwords, PDF property, etc. for the converted PDF. In addition, it supports to deskew and despeckle the black and white image file during converting black and white image to PDF.

In the following contents, you will see how to use command line application to deskew and despeckle black and white image to PDF.

1. Download and unzip

At first, please download Image to PDF Converter. After downloading, please unzip the downloaded file to a local disk on the computer. In the unzipped folder, you will able to see an executable file named img2pdf.exe which is the called program in the MS-DOS command prompt window

2. Input commands

To input commands, please open the MS-DOS command prompt window in which you can input commands first. Then, please refer to the following command line template to input your commands.

img2pdf [options] <Image-file> [<PDF-file>]

Where:

  • img2pdf: call the program
  • [options]: set options
  • <Image-file>: specify the source image file
  • [<PDF-file>]: specify the target PDF file

To deskew and despeckle the black and white image file, please use the following options:

  • -skewcorrect: skew correct for black and white image file
  • -despeckle: despeckle for black and white image file

For example,

img2pdf.exe -skewcorrect –despeckle C:\in.tif C:\out.pdf

This example is to deskew and despeckle black and white TIF to PDF document.

After inputting the commands, please press the Enter button on the keyboard to run the commands.

Several seconds later, you can get the desired PDF document in the specified location.

This is the end of this article and you can enjoy full version of this command line application after you buy Image to PDF Converter.

Image to PDF Converter

How to convert image to PDF and watermark PDF via command line

If you want to convert image to PDF with watermarks so that you can easily upload, send, print, etc. them, the command line application Image to PDF Converter will be a good assistant for you.

With the help of Image to PDF Converter, you are able to convert various images such as JPG, PNG, BMP, GIF, TIFF, PSD, WMF, EMF, PCX, PIC, etc. to PDF with watermarks. (Watermark is a recognizable pattern or image in paper that is often used as security features of banknotes, passports, postage stamps, etc. to protect copyright and prevent counterfeiting.)

To know how to use this command line application to convert image to PDF and watermark PDF, please do as follows:

At first, please free download the installer of this application via clicking the following button.

download Image to PDF Converter

After the download, please unzip the downloaded ZIP file to a local disk on the computer. In the unzipped folder, there is an executable file named img2pdf.exe which is the called program in the MS-DOS command prompt window

Then, please open the MS-DOS command prompt window so that can input commands. In the opened MS-DOS command prompt window, please follow the command line template shown below to input your commands.

img2pdf [options] <Image-file> [<PDF-file>]

Where:

  • img2pdf: call the program
  • [options]: set parameters
  • <Image-file>: specify the input image
  • [<PDF-file>]: specify the output PDF document

In order to add watermarks to the PDF document, please use the options: -wtext <string>.

For example,

img2pdf.exe -wtext "ImagePDF" "C:\in.tif" C:\out.pdf

This example is to convert TIF to PDF and add watermark "ImagePDF" to the converted PDF document.

You can also use the following options to set parameters for the watermark.

-wtype <int> : type of watermark

  • 0 : normal watermark
  • 1 : watermark on header
  • 2 : watermark on footer

-wf <string> : font name of watermark

-wh <int> : font size of watermark

-wb : specify bold font

-wi : specify an italic font

-wu : specify an underlined font

-ws : specify a strikeout font

-wa <int> : angle of watermark

-wc <string> : color of watermark,

  • FF0000: Red color
  • 00FF00: Green color
  • 0000FF: Blue color
  • HexNum: Other colors

-wx <int> : X offset of watermark

-wy <int> : Y offset of watermark

At last, please hit the Enter button on the keyboard to run the commands.

Several seconds later, you can get the watermark PDF document in the location you specify.

This is the end of this article and you can get full version of Image to PDF Converter here.