concrete/src/File/Image/BitmapFormat.php
public function setDefaultJpegQuality($value)
    {
        if ($this->valn->integer($value, 0, 100)) {
            $value = (int) $value;
            $this->config->set('concrete.misc.default_jpeg_image_compression', $value);
            $this->config->save('concrete.misc.default_jpeg_image_compression', $value);
        }

        return $this;
    }
public function setDefaultJpegQuality($value)
    {
        if ($this->valn->integer($value, 0, 100)) {
            $value = (int) $value;
            $this->config->set('concrete.misc.default_jpeg_image_compression', $value);
            $this->config->save('concrete.misc.default_jpeg_image_compression', $value);
        }

        return $this;
    }
public function setDefaultJpegQuality ( $ value ) { if ( $ this -> valn -> integer ( $ value , 0 , 100 ) ) { $ value = ( int ) $ value ; $ this -> config -> set ( 'concrete.misc.default_jpeg_image_compression' , $ value ) ; $ this -> config -> save ( 'concrete.misc.default_jpeg_image_compression' , $ value ) ; } return $ this ; }
Set the default JPEG quality.

@param int $value an integer from 0 to 100

@return $this
Set the default JPEG quality .