Convert CAD Drawings to Raster Image Formats
Introduction
Raster images such as JPEG, PNG, TIFF, BMP are some of the widely used file formats and as we are aware that in order to view CAD files, we need specific software to view and edit such files. But in order to share and view the files without any dependency over any specific application, one of the viable solutions is to render the DWG into raster image formats and share across multiple platforms. Aspose.CAD Cloud provides the capabilities to perform this transformation in the cloud.
This article explains how to convert CAD drawing/image to raster image format. You can convert CAD Drawings to BMP, PNG, JPG, JPEG, JPEG2000, TIF, TIFF, PSD, GIF and WMF formats. Aspose.CAD provides the following two APIs to perform the said task:
Resource URI
Aspose.CAD Cloud APIs Swagger UI lets you call these APIs directly from the browser. The description of the APIs and their parameters are also given there.
cURL Example
Option 1: Export existing drawing to another format
Option 2: Export existing images to another format. Image is passed as a request body
Input Document:
Output Document:
SDKs
Using an SDK (API client) is the quickest way for a developer to speed up the development. An SDK takes care of a lot of low-level details of making requests and handling responses and lets you focus on writing code specific to your particular project. Checkout our GitHub repository for a complete list of Aspose.CAD SDKs along with working examples, to get you started in no time. Please check Available SDKs article to learn how to add an SDK to your project.
SDK Examples
Option 1: Export existing drawing to another format
Option 2: Export existing images to another format. Image is passed as a request body