HomeImagickImagickDrawImagickPixelImagick Pixel IteratorImagick KernelTutorial Source codeReport an issue
Category
Example

Composite - SCREEN

← backgroundMasking   diffMarking →
The Imagick::compositeImage function allows you to blend images together in many different ways. Please see http://www.imagemagick.org/Usage/compose/ for details
Input 1
Input 2
Output
//    $imagick = new Imagick(realpath($image_path1));
//    $imagick2 = new Imagick(realpath($image_path2));
//    $imagick1->compositeImage($imagick2, $type, 0, 0);
//    $imagick1->setImageFormat('png');
//
//    $image->setImageFormat("png");
//    header("Content-Type: image/png");
//    echo $imagick->getImageBlob();