We have the app, where users could add attachments to their reports. It uses a component capture-file to add it, since any format can be loaded (pdf or photos/images). However, when you save photos, they are saved in full resolution and weigh quite a lot.
There is a resolution parameter for capture-photo component that is responsible for the quality of the photo. Is there something similar for a capture-file component?
If it cannot be done by setting any parameter for component, could you please suggest another way to compress the images that are obtained when using the component?