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.

Offline Support

This activity works when the device is offline in the Geocortex Mobile Viewer.

Inputs

Source

Required

Type: Number Array

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 Array

The byte content of the rotated image.

Properties

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

Version Information

Supported from: Geocortex Mobile Viewer 5.0.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.10