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.