(PECL imagick 2, PECL imagick 3)
Imagick::polaroidImage β Simulates a Polaroid picture
Simulates a Polaroid picture. Π¦Π΅ΠΉ ΠΌΠ΅ΡΠΎΠ΄ Π΄ΠΎΡΡΡΠΏΠ½ΠΈΠΉ, ΡΠΊΡΠΎ Imagick Π·ΡΠ±ΡΠ°Π½ΠΈΠΉ Π· ImageMagick Π²Π΅ΡΡΡΡ 6.3.2 Π°Π±ΠΎ Π½ΠΎΠ²ΡΡΠΎΡ.
properties
The polaroid properties
angle
The polaroid angle
ΠΠΎΠ²Π΅ΡΡΠ°Ρ true
Π² ΡΠ°Π·Ρ ΡΡΠΏΡΡ
Ρ.
ΠΡΠΈΠΊΠ»Π°Π΄ #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;
?>