0

Reading through
https://www.smashingmagazine.com/2015/06/efficient-image-resizing-with-imagemagick/
and
https://wordpress.org/plugins/ricg-responsive-images/
from my understanding, it seems that WordPress is using ImageMagick, that is possibly merged with core or included in WordPress, when making different sizes of uploaded images.

Is this correct?
Is there anywhere information about that?
The ricg-responsive-images plugin page says that responsive images are default from WordPress 4.4 onwards.

If this is true, where can I access and edit the magick mogrify command arguments in WordPress to choose the compression I like to have the newly created sizes to have upon upload?

edit:
https://www.wpbeginner.com/wp-tutorials/how-to-increase-or-decrease-wordpress-jpeg-image-compression/
Suggest using

add_filter('jpeg_quality', function($arg){return 75;});

but what about other arguments for compressed and optimized images for example?

mogrify -path OUTPUT_PATH -filter Triangle -define filter:support=2 -thumbnail OUTPUT_WIDTH -unsharp 0.25x0.08+8.3+0.045 -dither None -posterize 136 -quality 82 -define jpeg:fancy-upsampling=off -define png:compression-filter=5 -define png:compression-level=9 -define png:compression-strategy=1 -define png:exclude-chunk=all -interlace none -colorspace sRGB INPUT_PATH

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.