colorTotal() public method

Return the number of colors in the palette of indexed images.
public colorTotal ( ) : integer
return integer
コード例 #1
0
ファイル: ImagickTest.php プロジェクト: nicksagona/PopPHP
 public function testColorTotal()
 {
     $i = new Imagick(__DIR__ . '/../tmp/test.gif');
     $this->assertEquals(16, $i->colorTotal());
 }