Very bad image quality

Alex Thomas Posted in Technical Support 2 years ago

Hi, I'm currently trying to figure out why images are uploading in bad quality - I figured it was something to do with $imagejpeg_quality or $imagepng_quality = ossn_call_hook("ossn", "image:resize:quality", false, 50); as a whole. However, it doesn't seem to change much when it comes to darker colours being much more noticably pixelated and low quality.
enter image description here

Replies
us Joshua karner Replied 11 months ago

ossn/classes/OssnImage.php

public $quality_truecolor = true;
public $gamma_correct     = true;

Change both of these to false, and you can increase image quality as well if desired.

   public $quality_truecolor = false;
   public $gamma_correct     = false;
gb Alex Thomas Replied 2 years ago

@Arsalan Still seems to be low quality

Indonesian Arsalan Shah Replied 2 years ago

use this https://www.opensource-socialnetwork.org/component/view/3868/reduce-images-size edit component 'ossn_com.php' file change quality value to 100