colorTotal() 공개 메소드

Return the number of colors in the palette of indexed images.
public colorTotal ( ) : integer
리턴 integer
예제 #1
0
 public function testColorTotal()
 {
     $i = new Imagick(__DIR__ . '/../tmp/test.gif');
     $this->assertEquals(16, $i->colorTotal());
 }