Skip to end of metadata
Go to start of metadata
Contents Summary
  

Introduction

This article explains how to convert CAD drawing/image to another format. You can convert CAD Drawings to BMP, PNG, JPG, JPEG, JPEG2000, TIF, TIFF, PSD, GIF, PDF and WMF formats. Aspose.CAD provides following two APIs to perform the said task:

  1. GET /cad/{name}/saveAs
  2. POST /cad/saveAs

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

Input Document:  

Output Document:

 Request
 Response

Option 2: Export existing image to another format. Image is passed as request body

Input Document: 

Output Document:

 Request
 Response

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

 C#

Option 2: Export existing image to another format. Image is passed as request body

 C#
Labels
  • No labels