update : 2015.11.03
php.shukuma.com검색:
|
imagecolorstotal(PHP 4, PHP 5, PHP 7) imagecolorstotal — Find out the number of colors in an image's palette 설명
int imagecolorstotal
( resource
$image
)Returns the number of colors in an image palette. 인수
반환값Returns the number of colors in the specified image's palette or 0 for truecolor images. 예제
Example #1 Getting total number of colors in an image using imagecolorstotal()
<?php 위 예제의 출력 예시: Total colors in image: 128 참고
|