Page 1 of 1

While I composite image on other image. Sometimes the second picture becomes black or no picture?

Posted: 2016-07-21T05:27:44-07:00
by bikash00789
Below is the php code which I am using...


$final_image = new Imagick();
$final_image->readImage("http://images.nationalgeographic.com/wp ... 90x742.jpg");
$im1 = new Imagick();
$im1->readImage("http://4.bp.blogspot.com/-HTvSYzA-pO4/U ... +cute2.jpg");
$im1->cropThumbnailImage( 114, 114 );
$im1->roundCorners( 10, 10 );
$final_image->compositeImage( $im1, imagick::COMPOSITE_DEFAULT, 24, 12 );