Quantcast
Channel: JTB World Blog
Viewing all articles
Browse latest Browse all 558

AutoCAD THUMBSIZE–DWG thumbnail preview images

$
0
0

Thumbnail previews in the AutoCAD 2013 DWG file format and newer are stored as PNG images and provides higher-quality thumbnail previews in a smaller file size than previous image format did. Image resolution is still controlled by the THUMBSIZE system variable. However, the maximum valid value has increased from 2 to 8. If you do not wish to include thumbnail previews in the drawing you can still use the RASTERPREVIEW (THUMBSAVE) system variable to disable them.

Here is how THUMBSIZE is described in the documentation for AutoCAD 2013: Specifies the display resolution in pixels for all thumbnail preview images. It’s saved in the registry with the initial value 3. Whether preview images are saved in drawings is controlled by the THUMBSAVE system variable.

THUMBSAVE (Save a thumbnail preview image) is also available in OPTIONS dialog box on the Open and Save tab, clicking on Thumbnail Preview Settings. THUMBSIZE is only available on the command line.

The larger thumbnail preview used the longer it takes also to save the drawing so if you really want to optimize size and speed set THUMBSAVE to 0 for off.

The preview size in AutoCAD’s file dialog boxes is only showing max 174x101 in resolution. It’s a pity larger options are not available.

The actual size of the thumbnail also depends on how AutoCAD’s application window is sized. Normally it is much wider than higher resulting in thumbnails that are using max width but less in height.

If the current view is using the 2D Wireframe visual style the max height or width of the thumbnail will be 256 even if THUMBSIZE is higher than 2. I can certainly see a need for a change here in an upcoming AutoCAD version as the preview sometimes makes more sense with 2D drawings.

THUMBSIZEResolutionDWG File Size
N/AN/A152 KB with THUMBSAVE 0
(only 1 KB less than with THUMBSAVE 1 and THUMBSIZE 0)
064 x 64153 KB
1128 x 128155 KB
2256 x 256158 KB
3512 x 512168 KB
41024 x 1024191 KB
51440 x 1440213 KB
61600 x 1600225 KB
71920 x 1920242 KB
82560 x 2560284 KB

To really see the larger thumbnails I used Windows Explorer’s preview pane.

THUMBSIZE=0

THUMBSIZE=3

Here is a test using a drawing with 3D objects and materials and note how the thumbnail adds up to 9 MB to the drawing. The increase due to the thumbnail depends on how the PNG image is compressed and can in worst case probably be up to 15-16 MB for the largest resolution.

THUMBSIZEResolutionDWG File Size
N/AN/A1154 KB with THUMBSAVE 0
(1 KB less than with THUMBSAVE 1 and THUMBSIZE 0)
064 x 641155 KB
1128 x 1281186 KB
2256 x 2561203 KB
3512 x 5121261 KB
41024 x 10241495 KB
51440 x 14404472 KB
61600 x 16005172 KB
71920 x 19206671 KB
82560 x 256010277 KB

Here is an example using THUMBSIZE set to 1.

THUMBSIZE set to 2.

THUMBSIZE set to 3.


Viewing all articles
Browse latest Browse all 558

Trending Articles