Imagick::shadowImage
(PECL imagick 2, PECL imagick 3)
Imagick::shadowImage — Simulates an image shadow
Beschreibung
float
$opacity,float
$sigma,int
$x,int
$y): bool
Simulates an image shadow.
Parameter-Liste
- 
opacity
- 
      
- 
sigma
- 
      
- 
x
- 
      
- 
y
- 
      
Rückgabewerte
   Liefert true bei Erfolg.
  
Beispiele
Beispiel #1 Imagick::shadowImage()
<?php
function shadowImage($imagePath) {
    $imagick = new \Imagick(realpath($imagePath));
    $imagick->shadowImage(0.4, 10, 50, 5);
    header("Content-Type: image/jpg");
    echo $imagick->getImageBlob();
}
?>
 
                     
                     
                     
                     
                    
 
          