Hi,
Can i use the image processor to reduce the image file size for every upload to backendless database?
I want every users image that is uploaded from my app to backendless to be compressed to a smaller file size, not image size.
Is this possible with the image processor or do you have other tools for this?
If we talk about enabling this as an option by default - unfortunately no.
But you could attach an Image Processor for every place where needed to process images.
from say…6mb to 1.5mb but still has the 1920x1080 format.
The app user dont have to anything with the image to reduce the image file size.
Can i set up the Backendless to do this for every image that are uploaded to Backendless from the mobile app?
At this moment we haven’t out-of-the-box solutions for this. But you could try to use external API services for this.
Also, it’s not the first ask for this possibility, and we already have a ticket for that(BKNDLSS-24340). I have increased the priority of this task and we will notify you when it will be implemented.
We have added the required functionality for image compression. You can find this functionality by installing Image Processor API Service (Marketplace → API Services).
The required method is called compress. You need to specify the source image_path and quality - an integer accepting values from 1 to 100. The value is the number of percent by which the image will be compressed.
This service allows you to manipulate images in many different ways. These include changing the resolution, cropping, rotating, and other basic functions.
Give it a try! We hope it’s exactly what you’ve been waiting for.