public function colorTotal() { return $this->resource->getImageColors(); }
public function testColorTotal() { $i = new Imagick(__DIR__ . '/../tmp/test.gif'); $this->assertEquals(16, $i->colorTotal()); }