Image Modifier Toolbox

Content Type: Module
Categories: Visualization,Data

Overview

Rotate, scale, blur, and modify your images in Mendix with this collection of image modifier actions.

Documentation

ImageModifierToolbox - Version 1.3

This Mendix module contains multiple Java actions that can be used to modify images.

All actions currently work with jpg, jpeg, and png images.

Java Actions

  • ImageBlue: Blurs an image. Blur scale 0 is no blur and 1 is maximum blur.

  • ImageBrightnessAndContrast: Modifies the brightness and/or contrast of input image. With contrast offset, -100 is very high contrast and 100 is very low contrast.

  • ImageChangeColour: Change an imgae to grayscale or add a coloured tint.

  • ImageConvertToPNG: Converts Jpg, Jpeg, and WEBP images to PNG. Userful when wanting to use Java actions that require image to be in the PNG format.

  • ImageFlip: Flips images horizontally and/or vertically

  • ImageInvertColour: Inverts the colour of an image

  • ImageOpacity: Modifies the opacity of input image. Default value is 1. Value should be between 0 and 1.

  • ImageRotate: Rotates image clockwise/anticlockwise.

  • ImageScale: Scales the input image horizontally and vertically. Default scale values are 1 (no scale). Values between 0 and 1 will decrease scale. Values greater than 1 will increase scale.

  • ImageShear: Shears input image horizontally and/or vertically. Default shear values are 0 (no shear). values can be positive or negative

Releases

Version: 1.3.0
Framework Version: 9.24.11
Release Notes: ##Added - ImageBlur added to apply a blur filter to images - ImageInvertColour added to invert colour of image
Version: 1.2.0
Framework Version: 9.24.11
Release Notes: ## Added - All Java actions now work with jpg and jpeg images - ImageChangeColour has additional colour tints to select from ## Fixed - Add validation to ImageOpacity to check opacity value is between 0 and 1 - Add validation to ImageScale to check scale value is greater than 0 ## Changed - Refactor code to make file extension check a global action
Version: 1.1.0
Framework Version: 9.24.11
Release Notes: ## Added - ImageChangeColour has been added to give images a red, blue, or green tint or to change them to grayscale ## Fixed - Fixed null pointer error when a direction is not chosen in the ImageRotate action - Defaults scale to 1 if scale is given as 0 or less in the ImageScale action
Version: 1.0.1
Framework Version: 9.24.11
Release Notes: ### Changes - Bug fixed where opacity, rotate, scale, and shear Java actions did not work in Mendix 10
Version: 1.0.0
Framework Version: 9.24.11
Release Notes: Initial release of ImageModifierToolbox. Java actions provided: - **ImageBrightnessAndContrast** (PNG compatible) - **ImageConvertToPNG** (Jpg, Jpeg, and WEBP compatible) - **ImageFlip** (Jpg, Jpeg, and PNG compatible) - **ImageOpacity** (PNG compatible) - **ImageRotate** (Jpg, Jpeg, and PNG compatible) - **ImageScale** (Jpg, Jpeg, and PNG compatible) - **ImageShear** (Jpg, Jpeg, and PNG compatible)