diff --git a/reference/image/functions/imagecolorclosest.xml b/reference/image/functions/imagecolorclosest.xml index 7bf5a02f7b..97976ebc25 100644 --- a/reference/image/functions/imagecolorclosest.xml +++ b/reference/image/functions/imagecolorclosest.xml @@ -1,5 +1,5 @@ - + @@ -24,6 +24,10 @@ palette is calculated as if the RGB values represented points in three-dimensional space. + + 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. + See also imagecolorexact. diff --git a/reference/image/functions/imagecolorexact.xml b/reference/image/functions/imagecolorexact.xml index e20f7b3bab..56578fa716 100644 --- a/reference/image/functions/imagecolorexact.xml +++ b/reference/image/functions/imagecolorexact.xml @@ -1,5 +1,5 @@ - + @@ -23,6 +23,10 @@ If the color does not exist in the image's palette, -1 is returned. + + 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. + See also imagecolorclosest. diff --git a/reference/image/functions/imagecolorresolve.xml b/reference/image/functions/imagecolorresolve.xml index 91980d39e9..b7a40a978d 100644 --- a/reference/image/functions/imagecolorresolve.xml +++ b/reference/image/functions/imagecolorresolve.xml @@ -1,5 +1,5 @@ - + @@ -23,6 +23,10 @@ requested color, either the exact color or the closest possible alternative. + + 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. + See also imagecolorclosest.