If you want to extract image in your PDF document and save the images into html format when you convert pdf to html document, the command line application VeryPDF PDF to HTML Converter Command Line will help you.
PDF to HTML converter can help you well preserve the original images from when you make the conversion. It supports to output JPEG, GIF or PNG format image. It allows you to customize the output JPEG image quality.
So if you want to use PDF to HTML Converter Command Line, please download it at its homepage where you can also purchase the sever license or single user license according to your requirements.
For learning how to do the work, please see the following contents:
At first, you need to open MS-DOS interface where you can input the command line. Please click “Start”—“Run” to open “Run” dialog box in which pleas input “cmd” or “CMD” in “Open” combo box and click “OK” button. Then you will see MS-DOS command prompt window.
Then you need to input the command line into it. The command line contains three necessary parts: called program, source file and target file. The called program is the executable file pdf2html.exe in unzipped folder of PDF to HTML Converter Command Line. The source file is pdf document that you want to convert and the target file is html document that you will get. You can refer to the following template to write your command line:
pdf2html [options] <PDF-file> <HTML-file>
Please input the command line like the above one in MS-DOS interface. There is some command line examples below:
pdf2html –r 1500 D:\A.pdf D:\B.htm
pdf2html –onehtm C:\File-in.pdf C:\File-out.htm
The first example is to convert pdf to html document and set the resolution for html document. The second example is to create a continuous page html document from pdf file.
In the command line,
pdf2html stands for the called program. For calling this file, you need to input its path in MS-DOS interface.
–r 1500 is the option to set the resolution for html document as 1500 DPI.
–onehtm is the option to generate continuous page html document.
When you call source file and target file in command line, you need to use the paths of them.
At last, please hit “Enter” button on the keyboard to run the conversion from pdf to html.
In the specified path, you can see there is a new created folder with the name you set just now. In this folder, you can see the created html document, extracted image, plain text file and images of icon. When you open the extracted image, you will find that it is similar with the image in html document and the image is a combined one if there are several images in original pdf document.
If you want to extract the single page from your pdf document, maybe you can try the application VeryPDF PDF to Image Converter.