Convert documents of TXT to bitmap image by command line

By using the command line application of Document Converter, you can convert the document of txt to bitmap image leisurely. You should just read the following contents carefully and you will get some valuable information about the conversion you want to make and the application you need to use.

The command line application can be used to convert any printable documents to image formats within three steps and you can just use different commands to set various parameters for the target file such as image color depth, image size, image resolution and so on. You can also embed the command line application to your own developed applications to implement functions.

You can try the command line application by downloading the free trial version at https://www.verypdf.com/artprint/docprint_pro_setup.exe and set it up on your computer. Then the executable file doc2pdf.exe will appear in installation package. When you convert txt to bitmap image, you will need to use it as the called program.

In this conversion, we can take BMP as the example of bitmap image. Please see the following steps for converting txt to bitmap. At beginning, please open MS-DOS prompt window.

You can click “Start”—“Run” or use the hot key “Window”+ “R” to open “Run” dialog box. Then please input “cmd” in “Open” combo box of “Run” dialog box and click “OK” button. Then MS-DOS prompt window will pop up on your screen.

Please input the command line in MS-DOS interface. The command line contains called program, source file and target file. Called program is the executable file doc2pdf.exe that we mentioned above. Source file is the TXT document you want to convert and the target file is the bitmap image that you want to get.

If you want to understand the command line better, please see the following sample:

doc2pdf.exe –i C:\FILE1.txt –o C:\FILE2.bmp

In which

  • doc2pdf.exe stands for the called program.
  • –i C:\FILE1.txt stands for the path of source file.
  • –o C:\FILE2.bmp specifies the name of the target file.

Please pay attention to that you should use the path of the file appears in the command line for the application can call the file smoothly from your system.

Then please click “Enter” button on the keyboard to run the conversion from txt to bitmap image and you need to check the target file when the conversion comes to the end. If you want to read more articles about the command line application, please enter the blog: VeryPDF Knowledge Base.

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

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!