Return the number of colors in the palette of indexed images.
public colorTotal ( ) : integer | ||
Résultat | integer |
public function testColorTotal() { $i = new Imagick(__DIR__ . '/../tmp/test.gif'); $this->assertEquals(16, $i->colorTotal()); }