How convert image to PDF/X by command line

With the help of the command line application Image to PDF OCR Converter, you can convert image to PDF/X.

Image to PDF OCR Converter is a powerful PDF creator which can help users to convert various image formats including JPG, JPEG, GIF, PNG, BMP, TIF, TIFF, PSD, WMF, EMF, PCX, PIC, to ePub. In addition, it can convert image to PDF/X. (PDF/X is used to facilitate graphics exchange.)

To know how to use this command line application to convert image to PDF/X, please do as follows.

Firstly, please free download Image to PDF OCR Converter and unzip the downloaded ZIP file to a folder on your local computer disk. In the unzipped folder, you can see an executable file named as img2pdfocr.exe which is the called program in the MS-DOS interface.

Secondly, please open the MS-DOS interface in which you can input commands. Before inputting the commands, you can read the readme.txt document which explains the usage and options of this application in detail.

According to the usage of this application, please input commands by referring to the command line template shown below:

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

In the above template:

  • img2pdf: call the program—img2pdfocr.exe. (Please input the path of the called program— img2pdfocr.exe.)
  • [options]: set options to control the conversion.
  • <Image-file>: import the image. (Please input the path of the input image.)
  • [<PDF-file>]: export the PDF file. (Please specify the name and path of the output PDF file.)

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

If you still don’t how to input commands to convert the image to PDF/X compliance PDF file, please continue to see the following example.

D:\img2pdfocr\img2pdfocr.exe -pdfx F:\ cuisine.png D:\ cuisine.pdf

The example is to convert cuisine.png image to PDF/X compliance PDF file —cuisine.pdf.

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

After a while, you can see the created PDF file in the specified folder and view the PDF file with a PDF reader installed on the computer.

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

Related Posts: