note 105231 added to gmagick.compositeimage
| From: | WallaceLaukokpoh at osu1 dot php dot net | Date: | Thu, 04 Aug 2011 06:24:10 +0000 |
| Subject: | note 105231 added to gmagick.compositeimage | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-182206@lists.php.net to get a copy of this message | ||
Merging 2 images
#!/usr/bin/php
<?php
// wallace Lau kok poh <>
//Instantiate a new Gmagick object
$imgMain = new Gmagick('Torso_F.tiff');
$imgBarcode = new Gmagick('barcode.jpeg');
//stamp the barcode on top of the Main image
$imgMain->compositeimage($imgBarcode, 1, 150, 150);
//Write the current image at the current state to a file
$imgMain->write('withBarcode.tiff');
?>
----
Server IP: 69.147.83.197
Probable Submitter: 115.236.9.59
----
Manual Page -- http://www.php.net/manual/en/gmagick.compositeimage.php
Edit -- https://master.php.net/note/edit/105231
Del: integrated -- https://master.php.net/note/delete/105231/integrated
Del: useless -- https://master.php.net/note/delete/105231/useless
Del: bad code -- https://master.php.net/note/delete/105231/bad+code
Del: spam -- https://master.php.net/note/delete/105231/spam
Del: non-english -- https://master.php.net/note/delete/105231/non-english
Del: in docs -- https://master.php.net/note/delete/105231/in+docs
Del: other reasons-- https://master.php.net/note/delete/105231
Reject -- https://master.php.net/note/reject/105231
Search -- https://master.php.net/manage/user-notes.php