VeryUtils DWG to Image Command Line User Guide

DWG to Image Command Line allows you to batch convert DWG, DXF and DWF to JPG (JPEG), TIFF (TIF), GIF, PNG, BMP, WMF and EMF in silent without interface. You can integrate DWG to Image Command Line into your application and distribute it along with your product to your customers royalty free. You can call DWG to Image Command Line from your server application, Windows Desktop application and batch scripts easily.

https://veryutils.com/dwg-to-image-converter-command-line

image

How to use DWG to Image Command Line software?

1. DWG to Image Command Line is a command line application, you can run it from DOS Command Line window, it's a standalone application and without depend on any third party software.

2. From Windows "Start" menu, click on "Run" or hold on "Win" and press "R" on keyboard to launch Windows Run Prompt, in the blank of the Run Prompt, enter "cmd" command to launch a CMD window, you may look at following web page for more information,

https://veryutils.com/blog/top-10-methods-to-run-a-command-line-window-in-windows-10/

3. Use "cd" (change the current working directory) command of MS-Dos command line to locate to the installation Dos folder of DWG to Image Converter,   for instance, you may change the current folder to D:\VeryUtils, and so on.

4. You can run dwg2img.exe to show more command line options,

DWGTools Converter Command Line v3.2
Convert DWG and DXF files to Raster BMP, JPG, PNG, TIFF, GIF formats.
Usage: dwg2img [options] <dwg-file> [<out-file>]
  -fontdir <string>  : a folder contain .ctb, .shx, etc. files
  -dpi <int>         : set DPI to output file
  -width <fp>        : set width, unit is point
  -height <fp>       : set height, unit is point
  -unit <string>     : cm, mm, pt, in, default is pt
  -linewidth <string>: set line width, unit in mm
  -colormode <int>   : set color mode, 0 is color and 1 is black and white
  -bgcolor <int>     : set background color, same as AutoCAD color index
  -zoomtype <int>    : set zoom type, 1 is 'Zoom All' and 2 is 'Zoom Extend'
  -noext             : don't append suffix to filename for single page file
  -fixed             : fix precision problem
  -debug             : output debug message
  -$ <string>        : input registration key
Examples:
  dwg2img.exe C:\test.dwg C:\out.bmp
  dwg2img.exe C:\test.dwg C:\out.jpg
  dwg2img.exe C:\test.dwg C:\out.gif
  dwg2img.exe C:\test.dwg C:\out.png
  dwg2img.exe C:\test.dwg C:\out.tif
  dwg2img.exe C:\*.dwg C:\*.png
  dwg2img.exe -dpi 300 C:\test.dwg C:\out.tif
  dwg2img.exe -width 1024 -height 768 C:\test.dwg C:\out.tif
  dwg2img.exe -bgcolor 255 C:\test.dwg C:\out.tif
  dwg2img.exe -colormode 1 C:\test.dwg C:\out.tif
  dwg2img.exe -fontdir "C:\fonts" C:\test.dwg C:\out.tif
  dwg2img.exe -linewidth "1=0.1;2=0.1;3=0.1" C:\test.dwg C:\out.tif

5. You can run above command lines to convert DWG, DXF and DWF to JPG (JPEG), TIFF (TIF), GIF, PNG, BMP, WMF and EMF easily, if you encounter any problem with this software, please feel free to let us know, we are glad to assist you asap.

No votes yet.
Please wait...

Related Posts

Leave a Reply

Your email address will not be published.