Convert documents of TXT to JPG by command line

In this article, there are three steps for describing the conversion from the document of txt to jpg format image. The tool to be used in this conversion is the command line application of Document Converter which is a professional document converter containing three applications.

When you use the command line application, you will find that you are able to use it to convert any printable documents to many types of image formats. You are also able to set the parameters for the target file such as the image resolution, image size, color depth, etc.

The command line application is also a good helper for people who want to develop software basing on Document Converter. They can embed the command line application to their developed application.

If you are interested in the command line application, please download it at and install it on your computer. Then the executable file doc2pdf.exe  in the installation package will be runnable.

If you want to use all the functions of the application, you need to buy it at

The first step—Open MS-DOS prompt window

Please click “Start”—“Run” to open “Run” dialog box in which you can input “cmd” in “Open” combo box and click “OK” button, which can help you open MS-DOS prompt window for inputting the commands to convert txt to jpg. The hot key “Window”+ “R” can also help you open “Run” dialog box.

The second step—Input the command line

When you input the command line, you should remember to use the path of the file you use in the command line which contains called program, source file and target file just like the following sample.

doc2pdf –i C:\file-in.txt –o C:\file-out.jpg

In the command line,

  1. doc2pdf stands for the called program.
  2. –i C:\file-in.txt is the path of source file.
  3. –o C:\file-out.jpg indicates the name of the target file.

The last step—Run the conversion

In the end of all the operations, you should click “Enter” button on the keyboard to run the conversion from txt to jpg. If you want to see more commands about the command line application, you can enter the following webpage:

VN:F [1.9.20_1166]
Rating: 10.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: +1 (from 1 vote)
Convert documents of TXT to JPG by command line, 10.0 out of 10 based on 1 rating

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