Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Gmagick::addnoiseimageGmagick::blurimage>
^GmagickLast updated: Mon, 26 Oct 2026

Gmagick::annotateimage

(PECL gmagick >= Unknown)

Gmagick::annotateimage — Annotates an image with text

Description

public function Gmagick::annotateimage(
    GmagickDraw $GmagickDraw,
    float $x,
    float $y,
    float $angle,
    string $text
): Gmagick

Annotates an image with text.

Parameters

GmagickDraw

The GmagickDraw 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.

Return Values

The Gmagick object with annotation made.

Errors/Exceptions

Throws an GmagickException on error.


<Gmagick::addnoiseimageGmagick::blurimage>
^GmagickLast updated: Mon, 26 Oct 2026