public/js/kcfinder/lib/class_image_gmagick.php
protected function optimize_jpeg(array $options=array()) {
        $quality = isset($options['quality']) ? $options['quality'] : self::DEFAULT_JPEG_QUALITY;
        try {
            $this->image->setCompressionQuality($quality);
        } catch (\Exception $e) {
            return false;
        }
        return true;
    }
protected function optimize_jpeg(array $options=array()) {
        $quality = isset($options['quality']) ? $options['quality'] : self::DEFAULT_JPEG_QUALITY;
        try {
            $this->image->setCompressionQuality($quality);
        } catch (\Exception $e) {
            return false;
        }
        return true;
    }
OWN METHODS