Created on 17 April 2017
icon_unfollowing
Login to follow
image-utils-mobile

Image Utils Mobile

Stable version 3.0.1 (Compatible with OutSystems 11)
Other versions available for 10
Uploaded on 06 November 2019 by 
image-utils-mobile

Image Utils Mobile

Details
Image Utilities (Resize, Crop, Identify width & height, Get & Fix Orientation, Sharpening, Watermark) for Mobile Apps using JS Canvas. HUGE file size savings (kilobytes, even megabytes). Currently only tested for Chrome browser and Android (as I don't have Mac/Safari/iPhone)
Read more

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...


Limitation:

- GetOrientation will failed if used on Resize/Crop image binary data output, use it on original image binary data.

- This is not a UI Cropper (where you can control using touch interaction), use Cropper Mobile instead.

- Currently only tested for Chrome browser and Android (as I don't have Mac/Safari/iPhone)


Sample/How-to App has been published: https://www.outsystems.com/forge/2079/


Anyone want to donate :)

I received donation through Paypal at harlins@gmail.com.

Release notes (3.0.1)

Fix: 

- Now only resize larger resolution image (compared to MaxWidthOrHeight input parameter)

- fix orientation still applied for smaller image

Reviews (4)
by 
2020-10-30
in version 3.0.1
Fantastic component! A real game changer for our PWA app that needed to store files locally before sending to the server. Took our app from crashing on 20 photos to breezing through 600+. Thank you!
by 
2020-02-11
in version 3.0.1
Amazing utils, very nice work!
by 
2020-01-21
in version 3.0.1
Just works
Category
Device capabilities, Files & documents
Tags
Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
See all 1 dependencies
Application Objects
Image Utils Mobile has 0 AOs.
Team
Compatible with
Version 11
Database:
All
Asset consumers
See all 1 consumers
Weekly downloads