I have an app that should create a thumbnail from large images. So I need to compress the image and for that I\'m using the package imagemin.
I get the input