This article is mainly about how to convert password PDF to image with the command line application EEPDF PDF to Image Converter Command Line.
PDF (Portable Document Format) is widely used in our daily life and work. To read the contents in PDF, you have to install a PDF viewer. But public computers or portable devices may not have a PDF viewer installed. To solve this problem, converting the PDF documents to images that can be opened by common applications will be a good choice.
EEPDF PDF to Image Converter Command Line is a professional application for converting PDF formats to various image formats and make different settings for the output images. The output image formats can be JPG, PNG, BMP, GIF, TIFF, TGA, PCX, PNM, RAS, PBM, etc. What’s more, it is able to convert owner password protected PDF (disable editing, changing, copying, printing, etc.) and user password protected PDF (disable opening) to image.
In the following contents, you will see how to use this application to convert owner/ user password protected PDF document to image.
1. Download and unzip
Please download the package of EEPDF PDF to Image Converter Command Line at first. The downloaded file is a ZIP file, so please unzip it to a folder on your computer disk after the download. In the unzipped folder, you can see an executable file named as pdf2img.exe which is the called program and a TXT document named readme.txt which can be regarded as the user manual of this application.
2. Input commands
This application is MS-DOS oriented, so please open MS-DOS command prompt window in which you are able to input commands. According to the usage of this application, please follow the command line template shown below to input your commands:
pdf2img [options] <PDF-file> <img-file>
- pdf2img: call the 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.
For password protected PDF documents, please use the following two options:
- -opw <string> :owner password (for encrypted files)
- -upw <string> : user password (for encrypted files)
D:\eepdf_pdf2image_cmd\pdf2img.exe -opw 123 -upw 456 F:\sign.pdf E:\sign.png
This example is to convert an owner password and user password protected PDF named sign.pdf to sign.png image.
To run the commands, please press the Enter button on the keyboard.
Several seconds later, you can get the output image in the location that you have specified.
This is the end of this article and you can get full version of EEPDF PDF to Image Converter Command Line here.