note 105232 added to gmagick.compositeimage

From: Date: Thu, 04 Aug 2011 07:02:47 +0000
Subject: note 105232 added to gmagick.compositeimage
Groups: php.notes 
Request: Send a blank email to php-notes+get-182207@lists.php.net to get a copy of this message
#!/usr/bin/php <?php // <wallace@wallacelau.com> //Instantiate a new Gmagick object $imgMain = new Gmagick('Torso_F.tiff'); // get the image width $width = (int) ($imgMain->getimagewidth() /2) - 150; //Instantiate a barcode img Gmagick object $imgBarcode = new Gmagick('barcode.jpeg'); //stamp the barcode on top of the Main image $imgMain->compositeimage($imgBarcode, 1, $width, 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/105232 Del: integrated -- https://master.php.net/note/delete/105232/integrated Del: useless -- https://master.php.net/note/delete/105232/useless Del: bad code -- https://master.php.net/note/delete/105232/bad+code Del: spam -- https://master.php.net/note/delete/105232/spam Del: non-english -- https://master.php.net/note/delete/105232/non-english Del: in docs -- https://master.php.net/note/delete/105232/in+docs Del: other reasons-- https://master.php.net/note/delete/105232 Reject -- https://master.php.net/note/reject/105232 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#182207) next »