The Rotate Image activity rotates an image to change its orientation.
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.
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. |
result |
Type: Number[] The byte content of the rotated image. |
For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.
For this activity to work when the device has intermittent connectivity to the network, the activity must run in the following application:
▪VertiGIS Studio Mobile
Supported from: VertiGIS Studio Mobile Viewer 5.0.