/** * Add text to an image * * @param mixed $image GD resource * @param string $text Some text to output on image as watermark * @param string $fontFile TTF font file path * @param array $params * @throws \JBZoo\Image\Exception */ public static function text($image, $text, $fontFile, $params = array()) { Text::render($image, $text, $fontFile, $params); }