svn: /phpdoc/en/trunk/reference/image/functions/ imageistruecolor.xml
| From: | Richard Quadling | Date: | Wed, 03 Feb 2010 14:07:07 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/image/functions/ imageistruecolor.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5991@lists.php.net to get a copy of this message | ||
rquadling Wed, 03 Feb 2010 14:07:07 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=294393
Log:
W/S tabs
Changed paths:
U phpdoc/en/trunk/reference/image/functions/imageistruecolor.xml
Modified: phpdoc/en/trunk/reference/image/functions/imageistruecolor.xml
===================================================================
--- phpdoc/en/trunk/reference/image/functions/imageistruecolor.xml 2010-02-03 14:06:40 UTC (rev
294392)
+++ phpdoc/en/trunk/reference/image/functions/imageistruecolor.xml 2010-02-03 14:07:07 UTC (rev
294393)
@@ -44,14 +44,14 @@
// Check if image is a true color image or not
if(!imageistruecolor($im))
{
- // Create a new true color image instance
- $tc = imagecreatetruecolor(imagesx($im), imagesy($im));
+ // Create a new true color image instance
+ $tc = imagecreatetruecolor(imagesx($im), imagesy($im));
- imagecopy($tc, $im, 0, 0, 0, 0, imagesx($im), imagesy($im));
- imagedestroy($im);
+ imagecopy($tc, $im, 0, 0, 0, 0, imagesx($im), imagesy($im));
+ imagedestroy($im);
- $im = $tc;
- $tc = NULL;
+ $im = $tc;
+ $tc = NULL;
}
// Continue working with image instance