138
Views
2
Comments
How to compress image in mobile application in offline mode?
Question

i am working on a mobile application in OS-10, in that application i am cliking a picture and save in database.

Before saving it to database i want to compress image.

For online mode i am using "Image Compress" https://www.outsystems.com/forge/component-overview/2347/image-compress component which working perfectly.

I need to find a way to compress image in offline mode.

Please help me with a solution for compressing images in offline mode.

2023-11-20 06-53-17
Neha Rathore

Hi Narayan,

This plugin will not work in offline mode as it is using server action.

If you need to compress image you need to search some forge component built on native.

If you want you can use this link https://github.com/Srini-max/Cordova-Image-Compressor to make forge component.

Thanks

Neha Rathore

2020-09-01 15-44-07
Shivani Jindal

Hi,


I used this plugin  https://www.outsystems.com/forge/component-overview/7180/image-utils-reactive to compress image and it woks well in offline as well as online mode.


Thanks

Shivani



Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.