Return the number of colors in the palette of indexed images.
public colorTotal ( ) : integer | ||
Результат | integer |
public function testColorTotal() { $i = new Imagick(__DIR__ . '/../tmp/test.gif'); $this->assertEquals(16, $i->colorTotal()); }