Returns 0 for true color images.
public colorTotal ( ) : integer | ||
return | integer |
public function testColorTotal() { $i = new Gd(__DIR__ . '/../tmp/test.gif'); $this->assertEquals(16, $i->colorTotal()); }
public function testColorTotal() { $i = new Gd(__DIR__ . '/../tmp/test.gif'); $this->assertEquals(16, $i->colorTotal()); }