How to reduce the size of the picture?

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
Yukiko Ikeo
Posts: 8
Joined: Fri Jun 09, 2017 11:58 pm

How to reduce the size of the picture?

Post by Yukiko Ikeo » Tue Jun 30, 2020 6:01 pm

product: Web page
version: V14SP2 EPC142060

Hi. Our customer uses Web page application on iPad with Safari.

They use File Picker(PRIM_WEB.FilePicker) to invoke camera.
Then send pictures to IBMi server.

The file size of pictures are big and takes time to send to the server.
So they want to reduce the size of the pictures.
Does anyone have a good idea?

Thank you for your help.
Best regards, Yukiko Ikeo

soa
Posts: 339
Joined: Mon Dec 07, 2015 3:15 pm

Re: How to reduce the size of the picture?

Post by soa » Wed Jul 01, 2020 3:29 pm

This is something that I would also like to see.

It is certainly possible in there are javascript libraries which will do this on the client side (eg https://www.plupload.com/).

It would be a significant improvement to the product and shouldn't be a big deal to the right JavaScript expert.

Failing that is there someone out there would could wrap a widget around pluload?

Post Reply