Change the default image conversion quality. As the images are converted to smaller size, you may set the quality. Default is `50` from 10-100 , larger value larger size and quality.

~~~
<?php
function my_component_init(){
ossn_add_hook('ossn', 'image:resize:quality', 'my_component_hook');
}
function my_component_hook($hook, $type, $return){
return 40;
}
ossn_register_callback('ossn', 'init', 'my_component_init');
~~~

Example of this use case https://www.opensource-socialnetwork.org/component/view/3868/reduce-images-size

Image default quality