Change Scale of an Image

Introduction

This article explains how to change scale or resize an image. You can change either request using GET or POST methods by using the below APIs:

Resource URI

Swagger UI lets you call Aspose.CAD REST APIs directly from the browser. The description of the APIs and their parameters are also given there.

cURL Example

Option 1: Change scale of an existing image

Input Document: 910609.dxf

Option 2: Change scale of an image from 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: Change scale of an existing image

Option 2: Change the scale of an image from the body