Compress image from 5MB to 1MB in Mendix

2
Hello, I would like to upload an image in Mendix of for example 5MB. And then use an appstore module to compress the image form 5MB to 1MB. Is there any appstore module i can download? Or do you guys have any other solutions?
asked
2 answers
0

Hi Nick, it depends on the type of image but mostly they are already pretty well compressed. Anyhow, search for zip on the appstore and you’ll find several options for compressing files.

answered
0

Have a look at https://stackoverflow.com/questions/44565500/how-can-i-compress-images-using-java to get some ideas on how to implement a java action to compress the files.

answered