Strange behaviour when adjusting 'quality' setting
-
Hi,
I’m using this plugin, and everything seems great apart from the fact that the ‘quality’ setting doesn’t seem to work correctly. Much of the time, changing the value of the setting (e.g. to 80, 70, or 60) makes no difference at all to the file size. Bizarrely, if I set it to something really low like 5, the file size actually goes up by 10KB or so!
I can’t figure out what’s going on here, and it’s definitely not down to caching; I even made sure all the images were physically gone from the server before re-generating.
One troubleshooting measure I took was going into the plugin’s …resize.php file and changing the quality so that it’s hardcoded, like so (I removed the other quality-related stuff):
$image->set_quality( intval( 10) );
This produced no different an effect.
- The topic ‘Strange behaviour when adjusting 'quality' setting’ is closed to new replies.