Imagick::polaroidImage
PHP function
Edit on GitHub ✎
(PECL imagick 2, PECL imagick 3)
Simulates a Polaroid picture
Description
Imagick::polaroidImage(ImagickDraw $properties, float $angle): bool
Simulates a Polaroid picture. 0x632
Parameters
propertiesThe polaroid properties
angleThe polaroid angle
Return Values
Success
Examples
A Imagick::polaroidImage() example
An example of using Imagick::polaroidImage()
php
<?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;
?>