src/Manipulators/Encode.php
public function getQuality()
    {
        $default = 90;

        if (!is_numeric($this->q)) {
            return $default;
        }

        if ($this->q < 0 or $this->q > 100) {
            return $default;
        }

        return (int) $this->q;
    }
public function getQuality()
    {
        $default = 90;

        if (!is_numeric($this->q)) {
            return $default;
        }

        if ($this->q < 0 or $this->q > 100) {
            return $default;
        }

        return (int) $this->q;
    }
public function getQuality ( ) { $ default = 90 ; if ( ! is_numeric ( $ this -> q ) ) { return $ default ; } if ( $ this -> q < 0 or $ this -> q > 100 ) { return $ default ; } return ( int ) $ this -> q ; }
Resolve quality.
@return string The resolved quality.
Resolve quality .