public function save($string, $size, $color, $bg, $target)
    {
        return (!file_exists($target)) ? file_put_contents("$target", $this->getImgData($string, $size, $color, $bg)) : false;
    }
public function save($string, $size, $color, $bg, $target)
    {
        return (!file_exists($target)) ? file_put_contents("$target", $this->getImgData($string, $size, $color, $bg)) : false;
    }
public function save ( $ string , $ size , $ color , $ bg , $ target ) { return ( ! file_exists ( $ target ) ) ? file_put_contents ( "$target" , $ this -> getImgData ( $ string , $ size , $ color , $ bg ) ) : false ; }
Save the image.

@param $string string.
$size side of image.
$color foreground color of image.
$bg background color of image.
$target target including file name and extension

@since 3.0.0

@return bool | int
Save the image .