[Images] Rotate

Q100028: [Images] Rotate

Rotates the image either based on the EXIF image tag, or by a specified amount. Rotates the image and has option to moves to target folder on successful completion.

Parameter In/Out Description Other Info
File source In The file source is a list of one or more image files to process, using fully qualified pathnames, such as a FileList output parameter from another module. A typical example being the [Files] Find module.
Target folder In The destination folder for the image(s) once it has been successfully rotated.
Delete source files? In Check this option if you want the source files to be deleted after being successfully rotated. Default: False
RotateMethod In Choices: Auto, Rotate90, Rotate180, Rotate270
By using 'Auto' for rotation method, it will search for an EXIF tag in the image and rotate the image based on the value found. The other options allow rotating the image by the specified number of degrees.
Default: Auto
Log output level In Choices: Minimal, Verbose
The level of execution detail you want to appear in the log.
Default: Minimal
Processed file list Out The output pathnames of output images that were generated.

(Italics = required parameters)

Notes

The [Images] Rotate module can be used to automatically process source images that contain additional metadata that encodes the orientation of the image. This metadata, called EXIF, is common with many modern mobile camera devices which automatically include this information. Normally this helps correct the orientation of the image depending on how the camera was held when the photo was taken. This is done automatically based on the EXIF metadata when the RotateMethod parameter is left to its default value of auto.

Otherwise, you can manually specify rotation by setting the RotateMethod parameter to the Rotate90, Rotate180, or the Rotate270 values. The degree of rotation is always based on the clockwise direction around the images certerpoint. Note that the rotations are in increments of 90 degrees, this does not provide for arbitrary rotation at any angle.

Examples
Original Rotate90 Rotate180 Rotate270
Original Rotate90 Rotate180 Rotate270
 
Last Updated:
10/3/2023 1:06:53 AM
JobServer.NET Knowledgebase © 2025