Run function before uploaded image is saved
I wish to run the following ImageMagick command before each image is saved to the server, how can I do so:
convert image_name.jpg -sampling-factor 4:2:0 -strip -quality 85 -interlace JPEG -colorspace RGB image_name.jpg
Topic compression images Wordpress
Category Web