colorTotal() public method

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