(PECL imagick 2, PECL imagick 3)

Imagick::montageImageCreates a composite image


public Imagick::montageImage(
    ImagickDraw $draw,
    string $tile_geometry,
    string $thumbnail_geometry,
    int $mode,
    string $frame
): Imagick

Creates a composite image by combining several separate images. The images are tiled on the composite image with the name of the image optionally appearing just below the individual tile.

Elenco dei parametri


The font name, size, and color are obtained from this object.


The number of tiles per row and page (e.g. 6x4+0+0).


Preferred image size and border size of each thumbnail (e.g. 120x120+4+3).


Thumbnail framing mode, see Montage Mode constants.


Surround the image with an ornamental border (e.g. 15x15+3+3). The frame color is that of the thumbnail's matte color.

Valori restituiti

Creates a composite image and returns it as a new Imagick object.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top