Home > PHP > Function > > Imagick::annotateImage()

Imagick::annotateImage()

Imagick::annotateImage - Annotates an image with text

Syntax

bool Imagick::annotateImage (ImagickDraw $draw_settings, float $x, float $y, float $angle, string $text)

Arguments

  • draw_settings - The ImagickDraw object that contains settings for drawing the text
  • x - Horizontal offset in pixels to the left of text
  • y - Vertical offset in pixels to the baseline of text
  • angle - The angle at which to write the text
  • text - The string to draw

Description

Annotates an image with text.

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.