Crop a TIFF Frame

Introduction

This article explains how to extract a frame from a TIFF image, crop it and save it separately on the storage. Crop feature requires specifying the cropping rectangle dimensions and its position on the image.

The API takes an image name as a path in the URL, therefore, you first need to upload the image to Cloud Storage. After updating the image parameters, the API returns the updated image in the response. If you would like to save the updated image on the Cloud Storage, you explicitly need to call Upload File API as shown in the below examples.

Resource URI

With Swagger UI you can call this REST API directly from the browser. Description of the API parameters is also given there.

cURL Example

SDK Source

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. Check out our GitHub repository for a complete list of Aspose.Imaging Cloud 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