Home > Products > HTML to Any Converter Command Line   

Convert webpage to image by command line

VeryPDF HTML to Any Converter Command Line is a cross-platform program that has three versions for Windows, Mac OS X and Linux. You may use the proper version for the corresponding operating system. The program supports image formats of JPEG, TIFF, PNG, TGA, PS, EPS, PCX, BMP, and GIF.

This article will shows the basic usage of converting HTML pages to images by the program in Windows. After convert HTML page to images, you may use the images as thumbnails to preview the webpage online.

Download the Windows version package of VeryPDF HTML to Any Converter Command Line, and then unpack it to the disk. The executable file html2any is in folder bin.

The following words show the usage of VeryPDF HTML to Any Converter Command Line in Windows, and the commands are also usable for Mac OS X and Linux.

You may use the following command to convert a HTML file to JPEG image.

html2any page.html img.jpg

With the command line, the program html2any converts the HTML file page.html to image img.jpg.

You may also convert an online HTML webpage to image file with the following command line,

html2any www.verypdf.com online.bmp

The command line will convert the homepage of www.verypdf.com to BMP image online.bmp.

You may control the size of created image by option -h and -w as the following command lines.

html2any -h 800 www.verypdf.com online.png
html2any -w 1024 www.verypdf.com online.jpg
html2any -w 1024 -h 800 www.verypdf.com online.gif

The first command line can convert the HTML homepage to PNG image with height of 800 pixels. The second command line can convert the HTML page to JPG image with width of 1024 pixels. The last command line can convert the HTML webpage to GIF image with width of 1024 and height of 800 pixels.

The above paragraphs showed how to convert webpage to image by VeryPDF HTML to Any Converter Command Line of Windows version. The program supports more conversion formats such as Office Word, Excel, PowerPoint and PDF. And it also supports more options than mentioned in the article. You may learn the option usage from the readme or examples in test folder.

Click the link to visit the home page of VeryPDF HTML to Any Converter Command Line.

Discount 45% ($49.90) to buy PDF to Word Converter, PDF to Excel Converter, and PDF to PowerPoint Converter.

Guides and Tips

Gold Support 30-DAY NO RISK REFUND
 
  Learn more about
HTML to Any Converter Command Line
  See other products   Download   Buy Now
 
 
                   
 You may like these products
VeryPDF PDFcamp Printer Pro
VeryPDF PDFcamp Printer Pro

$38.00

Convert files of Microsoft Word, PowerPoint, Excel, JPG, PNG, GIF, and HTML to PDF. Create PDF from printable documents.
VeryPDF PDF Editor
VeryPDF PDF Editor

$89.95

Create PDF, annotate PDF, fill PDF forms, edit PDF contents and hyperlinks, and convert PDF to image. It is a cost-effective PDF editor.
VeryPDF PDF to Word OCR Converter
VeryPDF PDF to Word OCR Converter

$59.95

Recognize characters in scanned image PDF and save as Word. It supports batch process that can convert multiple PDF files with one click.