PDF to Image Converter Command Line

How to convert PDF to black and white/grayscale image by command line

If you want to convert PDF to black and white/grayscale image, the application EEPDF PDF to Image Converter Command Line will be a good choice for you.

PDF (Portable Document Format) is widely used in documents archiving, distributing and exchanging. But, sometimes, you may need to convert PDF to black and white/grayscale image. Black and white image or monochrome image can look artistic, sophisticated and modern. Grayscale image is composed exclusively of shades of gray from black to white.

EEPDF PDF to Image Converter Command Line is a professional command line application that can convert PDF to image (JPG, BMP, PNG, GIF, TIF, TGA, PCX, PNM, RAS, PBM, etc.). What’s more, it supports to convert PDF to black and white image and convert PDF to grayscale image.

In the following contents, you will see how to use this application to accomplish the conversion from PDF to grayscale image and the conversion from PDF to black and white image.

1. Download & unzip

Please free download EEPDF PDF to Image Converter Command Line at first. After the download, please unzip the downloaded file to a folder in your computer disk. In the unzipped package, you are able to see an executable file named pdf2img.exe which is the called program in the MS-DOS command prompt window.

2. Input commands

Please open the MS-DOS command prompt window in which you are able to input commands at first. Then, please refer to the following command line template to input your commands into the opened MS-DOS command prompt window.

pdf2img [options] <PDF-file> <img-file>

Where:

  • pdf2img.exe: call the program. (You need to input the correct path of the called program pdf2img.exe.)
  • [options]: set parameters to control the conversion.
  • <PDF-file>: specify the source PDF file.
  • <img-file >: specify the target image.

In order to convert the PDF document to monochrome/ grayscale image, you can use the following options: -mono which is used to generate a monochrome image and –gray which is used to generate a grayscale image.

D:\eepdf_pdf2image_cmd\pdf2img.exe –gray D:\ prince.pdf F:\ prince.jpg

This example is to convert a PDF document named prince.pdf to a grayscale image named prince.jpg.

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

Seconds later, you can get the target images in the specified location.

You can check the conversion effect from the following snapshots.

input PDF file
Input PDF file

prince
Output grayscale image

This is the end of this article and you can enjoy full version of EEPDF PDF to Image Converter Command Line here.

PDF to Image Converter Command Line

How to convert PDF to image of specific size with command line

The command line application EEPDF PDF to Image Converter Command Line allows you to convert PDF to image of specific size.

PDF (Portable Document Format) is able to transfer data electronically while preserving the original texts, images, formats, layouts, etc., thus it’s widely used in documents archiving, distributing and sharing. But, it can’t be directly opened by many common applications. In order to make PDF documents more accessible to others, converting PDF documents to image will be a good choice.

EEPDF PDF to Image Converter Command Line is a powerful command line application that can convert PDF format to JPG, PNG, BMP, GIF, TIF, EMF, TGA, PCX, PBM, PNM, RAS, etc. What’s more, it allows you to customize image size.

With some simple steps, you can successfully convert a PDF document to image of specific size.

Step 1. Download and unzip

First, please free download the package of EEPDF PDF to Image Converter Command Line. Then, please extract the package to a folder in computer disk. In the extracted package, you can find an executable file named pdf2img.exe which is the called program in the MS-DOS command prompt window.

Step 2. Input commands

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

pdf2img [options] <PDF-file> <img-file>

Where:

  • pdf2img.exe: call the program. (Please input the full path of the called program pdf2img.exe.)
  • [options]: set parameters.
  • <PDF-file>: specify the path of the input PDF file.
  • <img-file >: specify the path of the output image.

In order to set image size, you can use the following options: -w <int> which is used to set image width and -h <int>which is used to set image height.

For example,

D:\eepdf_pdf2image_cmd\pdf2img.exe –w 600 –h 400 D:\ balet.pdf E:\ balet.png

This example is to convert a PDF file named balet.pdf to us.png image.

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

Seconds later, you can get the target image in the specified location.

Please check the conversion effect from the following snapshots.

input PDF file
Input PDF file

output PNG image
Output PNG image

This application can do more than setting image size. To know more usages and options, please read the readme.txt document in the unzipped package.

This is the end of this article and you can enjoy full version of EEPDF PDF to Image Converter Command Line here.

PDF to Image Converter Command Line

How to convert PDF to image (JPG/ PNG/TIFF/GIF) and set image resolution

With the help of EEPDF PDF to Image Converter Command Line, you can convert PDF to image (JPG/ PNG/TIFF/GIF) and set image resolution.

EEPDF PDF to Image Converter Command Line is a professional command line application that can not only convert PDF format to multiple image formats (BMP, GIF, JPG, PNG, TIFF, JPEG, EMF, TGA, PCX, PNM, RAS, PBM, TIF, etc.), but also supports to customize image resolution (density of the pixels or printed dots that make up the image, which can be measured in DPI and PPI.)

In the following contents, you will see how to use this application to convert PDF documents to images and set resolution for the created image.

1. Download & unzip

Please free download EEPDF PDF to Image Converter Command Line and unzip the downloaded file to a folder in your computer disk. In the unzipped folder, there is an executable file named pdf2img.exe which is the called program in the MS-DOS command prompt window.

2. Input commands

First, please open the MS-DOS command prompt window in which you are able to input commands. Then, please input your commands into the MS-DOS command prompt window by referring to the following command line template.

pdf2img [options] <PDF-file> <img-file>

In the above template:

  • pdf2img.exe: call the program.(Please input the full path of the called program in the unzipped folder.)
  • [options]: set parameters to control the conversion.
  • <PDF-file>: specify the source PDF file.
  • <img-file >: specify the target image.

To set resolution for the converted image, you can use the following options:

  • -r <int> : resolution for both X and Y, in DPI (default is 150)
  • -xres <int> : xresolution, in DPI (default is 150)
  • -yres <int> :  yresolution, in DPI (default is 150)

For example,

D:\eepdf_pdf2image_cmd\pdf2img.exe -r 300 D:\ alice.pdf E:\ alice.jpg

This example is to convert a PDF file named alice.pdf to alice.jpg image and set the X and Y resolution as 300 respectively.

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

Several seconds later, you can find your target image in the specified location.

You can check the conversion effect from the following snapshot.

input PDF file
Input PDF file

output JPG image
Output JPG image

This is the end of this article and you can enjoy full version of EEPDF PDF to Image Converter Command Line here.

PDF to Image Converter Command Line

How to convert specific pages of PDF to image (JPG/ PNG/TIFF/GIF)

Do you want to just convert specific pages of PDF to image (JPG/ PNG/TIFF/GIF)? If so, the application EEPDF PDF to Image Converter Command Line will be a good assistant for you.

PDF (Portable Document Format) is currently the most widely used electronic document format worldwide. However, it is difficult to view some PDF files on small screens that come with some readers and smartphones. To resolve this problem, you can convert PDF documents to images.

EEPDF PDF to Image Converter Command Line is a powerful command line application that can convert PDF to various image formats including BMP, GIF, JPG, PNG, TIFF, JPEG, EMF, TGA, PCX, PNM, RAS, PBM, TIF, etc. It can not only convert a whole PDF document to image, but also can convert specific PDF pages to image.

Just by following the steps below, you can successfully convert a specific PDF page to image.

Step 1. Download and unzip

Please download the package of EEPDF PDF to Image Converter Command Line.

Then, please unzip the package to a folder in computer disk. In the unzipped folder, you can see an executable file named pdf2img.exe which is the called program.

Step 2. Input commands

In order to input commands, please open 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.

pdf2img [options] <PDF-file> <img-file>

Where:

  • pdf2img.exe: call the program.
  • [options]: set parameters.
  • <PDF-file>: specify the input PDF file.
  • <img-file >: specify the output image.

To convert a specific PDF page to image, you can use the following two options: -f <int> and -l <int>.

For example,

D:\eepdf_pdf2image_cmd\pdf2img.exe -f 1 –l 2 D:\ princess.pdf E:\ princess.png

This example is to convert a PDF file princess.pdf to princess.png image.

In the following two snapshots, you can see the original PDF file and the converted PNG image.

input PDF file
Input PDF file

output PNG image
Output PNG image

In fact, this application supports more options than the above ones, and you may learn more usages and options from the readme.txt document in the unzipped package.

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

Office to PDF Converter

How to convert Office to PDF in specified directory automatically

This article is mainly about how to convert Office to PDF in specified directory automatically with the application EEPDF Office to PDF Converter.

PDF (Portable Document Format) is popular file format widely used across different platforms because the contents in a PDF document can be read and interpreted the same way on any device regardless of the operating system. So, in many situations, you may want to convert some of your images or Office documents to PDF so that you can freely use them on different platforms.

EEPDF Office to PDF Converter offers a “Hot Directories” function to convert Office Word (DOC, DOCX), Excel (XLS, XLSX), PowerPoint (PPTX, PPT), etc. to PDF and images (JPG, PNG, BMP, GIF, TIF, PCX, TGA, etc.) in a wink.

In the following contents, you will see how to use this application to convert Office to PDF in a specific directory.

1. Download and install

First of all, please download EEPDF Office to PDF Converter.

After the download, please double click the downloaded file and follow the setup wizard to install it on the computer. For your use convenience, you can create a shortcut icon of this application on the desktop during the installation.

2. Switch to “Hot Directories” mode

After the installation, please double click the shortcut icon on the desktop to open this application and you can see the main interface of this application on the screen. Then, please click the Hot Directories Mode button at bottom of the main interface to switch to the “Hot Directories” interface. Please see the next snapshot.

convert image, Office to PDF with EEPDF Office to PDF Converter

3. Set input directory

On the “Hot Directories” interface, please input the path of the folder which contains the Office documents and images you want to convert into the “Input Directory” input box. Or click the Browse button beside the input box to specify the directory. You can check the radio button of “Include Sub-Directories” to choose to include the sub-directories or not. You can also choose to delete the source files by checking the radio button of “Delete source after converting”.

4. Set output directory

To set the output directory for the converted PDF files, please input the path of the directory in the “Out Directory” input box or click the Browse button beside the input box to choose a directory.

5. Convert

Please click the Start button at bottom of the interface to start to convert the Office documents to PDF.

Several seconds later, you can get the converted PDF files in the specified location.

This is the end of this article and you can enjoy full version of EEPDF Office to PDF Converter here.