Create a thumbnail of a DWG file

Question: I've tried a few things, looked into a solution of creating thumbnail from DWG file, which would probably allow me to write a converter, but it would be a total from the ground up solution, where I just need a thumbnail.Also considered using a viewer program to open the file in a remote X session and do a screen capture, however I'm not sure how I could ever guarantee that the viewer had completed opening when I took the screenshot. I'm not concerned with being able to manipulate the file other than to create the thumbnail. It is going to be used for commercial purposes, so any libraries used need to be compatible. Is there any solution on VeryDOC?

Answer: When you need to create thumbnail from DWG file, maybe you can have a free trial of VeryDOC DWG to Image Converter, by which you can convert DWG and DXF files to Raster BMP, JPG, PNG, TIFF, GIF formats directly without need of AutoCAD, quick and easily. And this is command line version software, you can also run the conversion together with application like VB, C# and others. Please check more information of this software on homepage, in the following part, I will show you how to use this software.

Step 1. Free download DWG to Image Converter Command Line

  • This software is command line version, when downloading finishes, there will be a zip file. Please extract it to some folder then you can call it from MS Dos Window normally.
  • When you use this software, please refer to the usage and examples in the extracted folder.

Step 2. Create thumbnail from DWG file

  • When creating thumbnail from DWG file, there are following output formats for you to choose like Raster BMP, JPG, PNG, TIFF, GIF formats.
  • When converting DWG to image and specify size, please refer to the following command line templates:
  • dwg2img.exe -dpi 300 C:\test.dwg C:\out.tif
    dwg2img.exe -width 1024 -height 768 C:\test.dwg C:\out.jpg
    Now let us check parameters used:
    -dpi <int>         : set DPI to output file
    -width <int>       : set width, unit is point
    -height <int>      : set height, unit is point
    By those parameters, we can create thumbnail from DWG file and specify size according to your needs. There are also many other options, please check them on homepage. I can not list all of them here.

By this method and this method, we can create thumbnail from DWG file. During the using, if you have any question, please contact us as soon as possible.

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!