Auto compress images uploaded

Hi Friends!
I know that is possible to upload images from any user into any NC directory shared and with upload permission,
but is it possile to automate its compression?

Example:
iI would like to give images upload permission to some users, but they could upload bigger jpg files,and I would like NC to automatically compress these files to a predefinited value.

Thanks!

You could use the workflow external script: Workflow external scripts - Apps - App Store - Nextcloud and write a script that compresses that image

1 Like

Mhhh, seems very interesting!

Thanks very much!

Davide