A simple module that lets you rotate images 90 degrees clockwise or counterclockwise. Ready to use microflows have been made to rotate clockwise or counterclockwise which can be put behind (e.g.) buttons.
Welcome to the Image Rotator module. This module a way to rotate images using one simple java action and an enumeration for rotating clockwise or counterclockwise. Two flows are already made and ready to use. They can simply be put behind anything clickable to make the selected image rotate 90 degrees.
The module only works for JPG or JPEG files. The maximum file size of the image which is to be rotated can be managed by altering the value of the maximum file size constant.
Updated to Mx version 8.12.5 for Mx 9 compatibility
Check the demo application at https://imagerotator-sandbox.mxapps.io/. Uploaded images will be deleted automatically after use.
This module implements the following Java libraries:
java.awt.geom.AffineTransform java.awt.image java.io.ByteArrayInputStream java.io.ByteArrayOutputStream java.io.InputStream javax.imageio.ImageIO
Since these are standard Java libraries, no extra Jars are included in the package.