This article aims to tell you how to convert MS Office 2010 and Office 2007 docx to jpg and set color depth (image bit-count) of jpg with DOC to Any Converter Command Line. With DOC to Any Converter Command Line, it is simple to process this task in one process. To know more details, please read the following paragraphs.
To convert docx file to jpg file and set image bit-count with DOC to Any Converter Command Line, there are several steps you need to take in your computer of Windows systems:
1. Run “cmd.exe” in your computer of Windows systems
The reason to run “cmd.exe” in the computer is to open the operating environment of DOC to Any Converter Command Line. And this environment is the command prompt window for Windows systems. Thus, please run “cmd.exe” in your computer by the way of clicking “Windows + R” > type “cmd.exe” > press “ok”, then the command prompt window can be popped out automatically.
2. Launch DOC to Any Converter Command Line in your computer
To launch DOC to Any Converter Command Line, you can type the path of ‘doc2any.exe’ into the command prompt window, or drag and drop the installer of “doc2any.exe” into the command prompt window directly.
3. Edit properties of jpg, add Office 2007 and Office 2010 docx and select a destination folder
After the path of “doc2any.exe” is inputted, it’s time to edit the properties of jpg. And for this mission, to edit the objective properties is to set color depth of jpg, thus, to realize it in the command prompt window, you can input the parameter “-bitcount <int>” in the command prompt window, where “<int>” can be any one of the following values:
- “1” can lead to black and white jpg
- “4” can lead to color jpg with better clearness and bigger size than one of “1”
- “8” can lead to grayscale jpg with better clearness and bigger size than one of “4”
- “16” can lead to color jpg with better clearness and bigger size than one of “8”
- “24” can lead to color jpg with better clearness and bigger size than one of “16”
After editing the image bit-count, it’s time to add the source file for this process, to realize it in the command prompt window, you need to input the path of the docx file. Then please input the objective path in order to select a destination folder for jpg and name jpg in the command prompt window. If you want to know this process in details, you can refer to the following command line:
h:\doc2any_cmd\doc2any.exe –bitcount 4 f:\hreasult\in.docx f:\hreasult\out.jpg
Then, please click “enter” to make DOC to Any Converter Command Line process this task from docx to jpg. And when you process this task by yourself, you can copy and paste the command line above, and change the directory and the related paths accordingly, finally, please do not forget clicking “enter” to start the conversion in the command prompt window.
By now, after you know the method to convert docx file to jpg file, if you want to obtain DOC to Any Converter Command Line right now, you can click the following link to download it: https://www.verydoc.com/doc2any_cmd.zip.
If you want to know more about DOC to Any Converter Command Line, you can click this link to go to the official website of DOC to Any Converter Command Line: https://www.verydoc.com/doc-to-any-options.html. And if you have any questions about this task, which is to convert Office 2007 and Office 2010 docx to jpg of specific color depth, please let us know, thank you for your support!