PHP 8.3.4 Released!

Imagick::polaroidImage

(PECL imagick 2, PECL imagick 3)

Imagick::polaroidImageSimulates a Polaroid picture

Descrizione

public Imagick::polaroidImage(ImagickDraw $properties, float $angle): bool

Simulates a Polaroid picture. Questo metodo è disponibile se Imagick è stato compilato con ImageMagick versione 6.3.2 o successive.

Elenco dei parametri

properties

The polaroid properties

angle

The polaroid angle

Valori restituiti

Restituisce true in caso di successo.

Esempi

Example #1 A Imagick::polaroidImage() example

An example of using Imagick::polaroidImage()

<?php
/* Create the object */
$image = new Imagick('source.png');

/* Set the opacity */
$image->polaroidImage(new ImagickDraw(), 25);

/* output the image */
header('Content-type: image/png');
echo
$image;

?>

add a note

User Contributed Notes

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