A way to convert xls to tga and set tga color depth

What is the color depth?

The color depth can be represented by the bit-count of the image, which can impact on the color, the quality and the size of the raster images. In another word, the more image bit-count is, the more qualified of the raster image, the smaller the raster image file size is, and however, for the color of the raster image, it depends on the format of the raster image.

What is the format of tga?

The file of TGA is a raster graphic file; TGA file supports 8, 16, 24, or 32 bits per pixel at a maximum of 24 bits for RGB colors and and 8-bit alpha channel; TGA files are often used to store texture files referenced by 3D video game.

To get the tga files from the Office documents, which kind of tool can help us with super speed?

DOC to Any Converter Command Line can be the best answer. DOC to Any Converter Command Line has been designed to help users convert the files of Office documents formats to other popular files with different formats with some proper options of the targeting files. Besides, it can support the batch process.

And here is the example below, which is about the conversion of xls to tga with DOC to Any Converter Command Line.

First, please click “Windows+R”, then you can get the dialog box “Run”, and type “cmd” in its edit-box and click ok to open the command prompt window, which is the operating environment of DOC to Any Converter Command Line.

Then at the current directory, you can start the main converter by inputting the path of “doc2any.exe”. To set tga color depth, you need to input the relative parameter after the start of DOC to Any Converter Command Line, which is the parameter “-bitcount <int>”, and for instance, <int> can be 1,4,8,16,24 etc., which are the image bit-counts of the bitmap images. Then you can input the path of the source file in order to add the source file for the conversion, and then please input the objective path in order to set the targeting file type and and the destination folder, which can contain the targeting file. At last, please click “enter” to convert xls to tga and edit tga color depth.

D:\doc2any_cmd\doc2any.exe<space>—bitcount<space>8<space>f:\with.xls<space>f:\with.tga<enter>

(note: “-bitcount 8” can help you set the image bit-count as 8, which will make your tga images in the state of grayscale)

More parameters, please click this link:  http://www.verydoc.com/doc-to-any-options.html, which can take you to the official website of DOC to Any Converter Command Line, where you can buy it. It is the end to convert xls to tga and set the color depth of tga. 

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

Random 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!