Rotate Image Activity

Description

The Rotate Image activity rotates an image to change its orientation.

Usage

A workflow could use the File Picker form element in a Display Form activity to get an image from the end user. The end user's image may not have the correct orientation. For example, it could be rotated clockwise 90 degrees from the correct orientation. The workflow could use the Rotate Image activity to generate the byte content of a new image with the correct the orientation.

Inputs

Source

Required

Type: Number[]

The byte content of the image.

Bytes are the raw binary values that represent content. A byte array is represented by a list of numbers between 0 and 255. Invalid byte content will cause an error.

One way byte content can be retrieved is by using the Read File Bytes activity.

Angle

Required

Type: Number

The clockwise rotation angle in degrees.

Only 90, 180 and 270 are supported.

Outputs

result

Type: Number[]

The byte content of the rotated image.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Connectivity Requirements

For this activity to work when the device has intermittent connectivity to the network, the activity must run in the following application:

Version Information

Supported from: VertiGIS Studio Mobile Viewer 5.0.