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 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.

Supported Environments

Environments capable of running this activity

Server

 

Client

Geocortex Web

Geocortex Mobile

Geocortex Viewer for HTML5

Web AppBuilder

Offline Support

In order for this activity to work when the device is offline, the activity must run in the following application:

Version Information

Supported from: Geocortex Mobile Viewer 5.0.

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.15