Skip to content

Bug #23815: Added ImageCopyMergeAlpha #211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Changed md5 comparison
  • Loading branch information
mattclegg committed Dec 22, 2012
commit 2efd440ece45d21b7cdf070b4ec87ec6327d60a3
9 changes: 5 additions & 4 deletions ext/gd/tests/imagecopymergealpha_basic.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,16 @@ $f($bg, $over, 276, 300, 0, 0, 123, 119, 50);

ob_start();
imagepng($bg);
$images[$f] = md5(ob_get_contents());
$dump = "$f: ".md5(ob_get_contents())."\n";
ob_end_clean();

echo $dump;

}

var_dump($images['imagecopymerge']!=$images['imagecopymergealpha']);

?>
--EXPECTF--
bool(true)

imagecopymerge: 8e5cf51d6f59e9cea8572bfac47b5668
imagecopymergealpha: f685c4a30c4255de4290c928ab4ac05e