diff --git a/reference/image/functions/getimagesize.xml b/reference/image/functions/getimagesize.xml index d82ec29f2f..53f9e9b27e 100644 --- a/reference/image/functions/getimagesize.xml +++ b/reference/image/functions/getimagesize.xml @@ -1,5 +1,5 @@ - + getimagesize @@ -74,7 +74,7 @@ &reftitle.returnvalues; - Returns an array with 5 elements. + Returns an array with 7 elements. Index 0 and 1 contains respectively the width and the height of the image. @@ -121,8 +121,14 @@ if ($size && $fp) { channels will be 3 for RGB pictures and 4 for CMYK - pictures. bits is the number of bits for each color. - However, for some image types, the presence of these values can be a bit + pictures. + + + bits is the number of bits for each color. + + + For some image types, the presence of channels and + bits values can be a bit confusing. As an example, GIF always uses 3 channels per pixel, but the number of bits per pixel cannot be calculated for an animated GIF with a global color table.