vrana           Tue Jul 27 12:08:13 2004 EDT

  Modified files:              
    /phpdoc/en/reference/image/functions        imagecolorclosest.xml 
                                                imagecolorexact.xml 
                                                imagecolorresolve.xml 
  Log:
  Color must be present in the image (bug #21668)
  
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecolorclosest.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/image/functions/imagecolorclosest.xml
diff -u phpdoc/en/reference/image/functions/imagecolorclosest.xml:1.3 
phpdoc/en/reference/image/functions/imagecolorclosest.xml:1.4
--- phpdoc/en/reference/image/functions/imagecolorclosest.xml:1.3       Thu Apr 18 
13:13:09 2002
+++ phpdoc/en/reference/image/functions/imagecolorclosest.xml   Tue Jul 27 12:08:13 
2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.imagecolorclosest">
   <refnamediv>
@@ -23,6 +23,10 @@
     The "distance" between the desired color and each color in the
     palette is calculated as if the <acronym>RGB</acronym> values
     represented points in three-dimensional space.
+   </para>
+   <para>
+    If you created the image from a file, only colors used in the image are
+    resolved. Colors present only in the pallete are not resolved.
    </para>
    <para>
     See also <function>imagecolorexact</function>.
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecolorexact.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/image/functions/imagecolorexact.xml
diff -u phpdoc/en/reference/image/functions/imagecolorexact.xml:1.3 
phpdoc/en/reference/image/functions/imagecolorexact.xml:1.4
--- phpdoc/en/reference/image/functions/imagecolorexact.xml:1.3 Thu Apr 18 13:13:09 
2002
+++ phpdoc/en/reference/image/functions/imagecolorexact.xml     Tue Jul 27 12:08:13 
2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.imagecolorexact">
   <refnamediv>
@@ -22,6 +22,10 @@
    <para>
     If the color does not exist in the image's palette, -1 is
     returned.
+   </para>
+   <para>
+    If you created the image from a file, only colors used in the image are
+    resolved. Colors present only in the pallete are not resolved.
    </para>
    <para>
     See also <function>imagecolorclosest</function>.
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagecolorresolve.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/image/functions/imagecolorresolve.xml
diff -u phpdoc/en/reference/image/functions/imagecolorresolve.xml:1.3 
phpdoc/en/reference/image/functions/imagecolorresolve.xml:1.4
--- phpdoc/en/reference/image/functions/imagecolorresolve.xml:1.3       Thu Apr 18 
13:13:09 2002
+++ phpdoc/en/reference/image/functions/imagecolorresolve.xml   Tue Jul 27 12:08:13 
2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/image.xml, last change in rev 1.36 -->
  <refentry id="function.imagecolorresolve">
   <refnamediv>
@@ -22,6 +22,10 @@
     This function is guaranteed to return a color index for a
     requested color, either the exact color or the closest possible
     alternative.
+   </para>
+   <para>
+    If you created the image from a file, only colors used in the image are
+    resolved. Colors present only in the pallete are not resolved.
    </para>
    <para>
     See also <function>imagecolorclosest</function>.

Reply via email to