protected function addSignature()
    {
        $bbox = imagettfbbox(10, 0, $this->signature_font, $this->image_signature);
        $textlen = $bbox[2] - $bbox[0];
        $x = $this->image_width - $textlen - 5;
        $y = $this->image_height - 3;

        imagettftext($this->im, 10, 0, $x, $y, $this->gdsignaturecolor, $this->signature_font, $this->image_signature);
    }
protected function addSignature()
    {
        $bbox = imagettfbbox(10, 0, $this->signature_font, $this->image_signature);
        $textlen = $bbox[2] - $bbox[0];
        $x = $this->image_width - $textlen - 5;
        $y = $this->image_height - 3;

        imagettftext($this->im, 10, 0, $x, $y, $this->gdsignaturecolor, $this->signature_font, $this->image_signature);
    }
protected function addSignature ( ) { $ bbox = imagettfbbox ( 10 , 0 , $ this -> signature_font , $ this -> image_signature ) ; $ textlen = $ bbox [ 2 ] - $ bbox [ 0 ] ; $ x = $ this -> image_width - $ textlen - 5 ; $ y = $ this -> image_height - 3 ; imagettftext ( $ this -> im , 10 , 0 , $ x , $ y , $ this -> gdsignaturecolor , $ this -> signature_font , $ this -> image_signature ) ; }
Print signature text on image
Print signature text on image