Extract Frame from a Multi-Frame TIFF Image

Introduction

This article explains how to get a frame from an existing TIFF image. The API also lets you resize, crop and rotateFlip the extracted frame. Moreover, the boolean parameter saveOtherFrames let you specify whether the result will include all other frames or just a specified frame.

The frame can be extracted using one of the following two APIs:

The first API expects you to first upload an image to Cloud Storage then pass its name in the API URL. 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.

On the other hand, with the second API, you can directly pass the image in the request body. It also lets you save the updated image on the Cloud Storage by specifying the outPath parameter value. However, if you do not specify the value, the response contains a streamed image.

Resource URI

With Swagger UI you can call Aspose.Imaging REST APIs directly from the browser. Description of an API and its parameters are also provided there.

cURL Examples

  • With Storage
  • Without Storage

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

  • With Storage
  • Without Storage