Parameters
- angle
- Rotation angle in degrees.
- borderColor
- The type of the border color. Possible values: 0-AutoDetect, 1-Black, 2-White. If undefined, AutoDetect value is used.
| Exception | Description |
|---|---|
| Thrown if argument has wrong type OR image is in processing now OR image processing is failed. |
This function sends a synchronous request to rotate an image. If you want to use asynchronous request instead of synchronous request, please use WebAcquiredImageJS.rotateAsync function.