Convert documents of HTML to image and set image size by command line

There are only three steps in the conversion from html to image and you can also set image size yourself. You are also allowed to set image size in the conversion process.  The tool you should take is the command line application of Document Converter. You can use the command line application to set different parameters for the target file.

The most powerful function of this application is to convert any printable documents to various types of images. In the conversion platform—MS-DOS prompt window, you just need to input some easy commands and then click “Enter” button on the keyboard to run the conversion.

If you are a software developer, you can also redistribute or embed the command line application of Document Converter to your developed applications for implementing the functions supported by the command line application.

To experience the command line application, please download a free trial version of it at https://www.verypdf.com/artprint/docprint_pro_setup.exe and you need to install it on the disk of your computer. The executable file doc2pdf.exe in installation package is the called program in the conversion from html to image.

Please see the conversion steps in following contents:

Firstly, open MS-DOS prompt window. You should use the hot key “Window”+ “R” to open “Run” dialog box in which you can input “cmd” and click “OK” button to open MS-DOS prompt window. You can also click “Start”—“Run” to open “Run” dialog box.

Secondly, input the command line which has called program, parameter for setting image size, source file and target file just like the following command line sample:

doc2pdf –w 800 –h 500 –i “www.verypdf.com” –o D:\verypdf.tiff

Note: TIFF is a kind of supported image format in command line application.

  1. doc2pdf stands for the called program and you should use the path of it in the command line for calling the program.
  2. –w 800 –h 500 is for customizing the image width and height as 800 and 500 pixels.
  3. –i “www.verypdf.com” is the source file and you need to input the URL of the html document.
  4. –o D:\verypdf.tiff is the name of target file and you should specify this parameter yourself.

Lastly, please use the way mentioned above to run the conversion from html to image—clicking “Enter” button. If you still have any questions about this conversion, you can leave a reply and we will resolve it as soon as possible.

VN:F [1.9.20_1166]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!