I tested, and I’m it look it is. Need more tests, as the other plugin can be buggy 🙂
I didn’t test that plugin, but it looks a little bit bloated if you only want to change the quality of resized images (before they get optimized).
With the latest version 0.3.0, you can add define('ASIO_RESIZE_QUALITY_JPEG', 100); to your wp-config.php to adjust the quality used with GD or ImageMagick during resizing. Internally it uses the wp_editor_set_quality hook.
In older versions, you had to use the wp_editor_set_quality or the jpeg_quality filter to adjust the default (jpg) quality in your functions.php, see:
e. g.: add_filter('jpeg_quality', function() { return 100; });
For all possible settings see: https://codeberg.org/raffaelj/wordpress-another-simple-image-optimizer/#settings
PS: ImageMagick is always used by default (if installed). This is a core WP feature and no ImageMagick plugin is needed to enable it.
Thanks Raffael,
That’s a good new that imagemagik is used by default if installed, I’ve changed the compressing quality now. That should be good.
Did you heard about compatibilty between your plugin and : https://wordpress.org/plugins/offload-media-cloud-storage/
I think I’ll be forced to get another server just for picture, as my cloud is a bit limited 😀
Thanks!
Did you heard about compatibilty between your plugin and : https://wordpress.org/plugins/offload-media-cloud-storage/
Sorry, cloud storage is not supported. This would require to switch from php functions like file_exists, unlink etc. to use an abstraction like leage/flysystem. Sadly, WordPress doesn’t even have a helper class for local file handling, which could be extended with e. g. S3 support. Because of heavy spaghetti code in WP core and because WP core never implemented a standard for cloud storage, every plugin has to use their own implementation.
It’s actually a good suggestion, but at the moment it looks like implementing cloud storage myself (with leage/flysystem) would be easier, than trying to be compatible with possibly many more cloud storage plugins.
Right now, this feature is not planned.