In this article, I will share a method of converting online HTML file to tiff file and set compression method according to various needs under Mac system. The software I will use is VeryPDF HTML to Any Converter Command Line for Mac, by which you can also convert HTML to PDF and other image file formats like JPEG, PNG, TGA, PS, EPS, PCX, BMP, and GIF. If you need to convert HTML to Word, Excel, CSV, RTF and TXT, this software also can make it for you. Please check more information on homepage, now let us check how this software works.
- There are three versions of this software: Mac, Linux and Mac, all of which are free downloading and trying. When downloading finishes, there will be .dmg file.
- Please double click the .dmg file and then you can enter folder to check related elements. Executable file is kept in sub folder bin. And help document is readme.txt.
Convert HTML to tiff and set compression method under Mac system.
- When you use this software, please refer to the usage and examples.
- Here is the usage for your reference: html2any [options] <input file> <output file>
- When converting HTML to tiff and set compression methods, please refer to the following command line templates.
html2any -compress 2 http://www.verypdf.com/ _compress.tif
html2any -compress 1 -multipage http://www.verypdf.com/ _multipage.tif
html2any -compress 3 -aa yes http://www.verypdf.com/ _aa.tif
html2any -compress 4 -aavec yes http://www.verypdf.com/ _aavec.tif
html2any -compress 5 -forcebwtif http://www.verypdf.com/ _forcebwtif.tif
By above command line templates, we can convert online HTML to tiff and set various compression methods. Now let us check what kinds of compression methods this software supports from the following parameters:
-compress <int> : Set compression to TIFF format:
-compress 1 : NONE compression.
-compress 2 : CCITT modified Huffman RLE.
-compress 3 : CCITT Group 3 fax encoding (1D).
-compress 4 : CCITT Group 4 fax encoding.
-compress 5 : LZW compression.
-compress 6 : OJPEG compression.
-compress 7 : JPEG DCT compression.
-compress 8 : ADOBE_DEFLATE compression.
-compress 32773 : PACKBITS compression.
-compress 32809 : THUNDERSCAN compression.
-compress 32946 : DEFLATE compression.
-compress 88880 : 204x98 G4 ClassF TIFF.
-compress 88881 : 204x196 G4 ClassF TIFF.
-compress 88882 : 204x98 G3 ClassF TIFF.
-compress 88883 : 204x196 G3 ClassF TIFF.
-compress 88884 : CCITT Group 3 fax encoding (2D).
I guess those compression methods are enough for you to satisfy your needs. This software is multifunctional tool, you can use it do a lot of other works. During the using, if you have any question, please contact us as soon as possible.