(PHP 4, PHP 5)
imagecolorstotal — Find out the number of colors in an image's palette
Returns the number of colors in an image palette.
내장 글꼴 1, 2, 3, 4, 5(큰 숫자가 큰 글꼴)나 imageloadfont()로 등록한 글꼴 식별자를 사용할 수 있습니다.
Returns the number of colors in the specified image's palette or 0 for truecolor images.