public function encode($image, $format, $quality)
    {
        return $this->encoder->process($image, $format, $quality);
    }
public function encode($image, $format, $quality)
    {
        return $this->encoder->process($image, $format, $quality);
    }
public function encode ( $ image , $ format , $ quality ) { return $ this -> encoder -> process ( $ image , $ format , $ quality ) ; }
Encodes given image

@param  Image   $image
@param  string  $format
@param  int     $quality
@return \Intervention\Image\Image
Encodes given image