Rotate and Flip Existing Image

Introduction

This article explains how to rotate and flip the existing image. Rotate and Flip method parameter values could be one of the following:

  • Rotate180FlipNone, Rotate180FlipX, Rotate180FlipXY, Rotate180FlipY,
  • Rotate270FlipNone, Rotate270FlipX, Rotate270FlipXY, Rotate270FlipY,
  • Rotate90FlipNone, Rotate90FlipX, Rotate90FlipXY, Rotate90FlipY,
  • RotateNoneFlipNone, RotateNoneFlipX, RotateNoneFlipXY, RotateNoneFlipY

With the following APIs you can rotate and flip existing image:

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: Rotate and flip an existing image

Option 2: Rotate and flip existing image and get it from response

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: Rotate and flip existing image

Option 2: Rotate and flip an existing image and get it from the response