From 7ae6fd70d4f8cbeacdda2facaed0b176381c5aa2 Mon Sep 17 00:00:00 2001 From: Joey Smith Date: Thu, 31 May 2012 22:09:49 +0000 Subject: [PATCH] document that imagecolortransparent() returns -1 if there's no current transparent color, and a new one is not specified git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325917 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/image/functions/imagecolortransparent.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reference/image/functions/imagecolortransparent.xml b/reference/image/functions/imagecolortransparent.xml index 3c94004684..881f38e216 100644 --- a/reference/image/functions/imagecolortransparent.xml +++ b/reference/image/functions/imagecolortransparent.xml @@ -37,7 +37,9 @@ &reftitle.returnvalues; The identifier of the new (or current, if none is specified) - transparent color is returned. + transparent color is returned. If color + is not specified, and the image has no transparent color, the + returned identifier will be -1.