This mobile plugin functionality is to resize image on client action using javascript to resize the image.
This plugin is using javascript to resize image with specified px on width or height.
Input is binary (can be use directly from camera plugin), output is base64.
Very useful for limiting image data size when send from mobile to backend.
Parameter :
Image : Binary data image (usually from camera plugin already binary data)
Quality : Quality of resize in percent
WidthHeight : reduce to size based on Width (True) or Height (False)
ResizeTo : number of px from Width or Heigth (based on parameter WidthHeight)
ResultBase64 : the result in base64