Login to follow
Image Utils Reactive

Image Utils Reactive (ODC)

Stable version 0.1.0 (Compatible with ODC)
Uploaded on 24 July 2024 by Moxie Lead, Lda
Image Utils Reactive

Image Utils Reactive (ODC)

Documentation
0.1.0

Image Utilities (Resize, Crop, Identify width & height, Get & Fix Orientation, Sharpening, Watermark) for Reactive Apps using JS Canvas. HUGE file size savings (kilobytes, even megabytes).





HUGE file size savings (kilobytes, even megabytes) in this new version.

- Now output image to JPEG, not PNG
- Watermark processing still using PNG to maintain alpha channel / transparency.
- New JPEG Quality input parameter (default to 0,7)


Client-side mobile action:

1. Resize: resize any binary data to a Maximum Width or Height (maintain aspect ratio), auto sharpen & fix orientation...

2. Crop: crop any binary data to a specific dimension

3. Identify: identify width, height and orientation, file size in bytes of binary data

4. GetOrientation: get orientation of image file (only source binary data with EXIF info)

5. FixOrientation: fix image orientation by orientation input parameter or automatically without orientation input parameter (only source binary data with EXIF info)

6. Sharpen: sharpen image

7. AddImageWatermark: add an image as watermark to source image...


Based on the forge component with the same name by Harlin Setiadarma:


https://www.outsystems.com/forge/component-overview/7180/image-utils-reactive-o11


ODC version done by Guilherme Marques from Moxie Lead.