Package Description
$ dotnet add package DwgThumbnailReaderA lightweight and efficient library for extracting thumbnail images embedded in AutoCAD's .dwg files.
using DwgThumbnailReader;
var thumbnail = DwgThumbnail.GetImage("drawing.dwg");
if (thumbnail.ImageType != DwgThumbnailImageType.None)
Console.WriteLine($"\ntype:{thumbnail.ImageType}, size:{thumbnail.Bytes.Length}");
MIT License