/**
  * {@inheritdoc}
  */
 public function getColorAt(Coordinate $coordinate)
 {
     $this->assertEmpty();
     $x = $coordinate->getX();
     $y = $coordinate->getY();
     if ($x < 0 || $x > $this->getWidth() || ($y < 0 || $y > $this->getHeight())) {
         throw new InvalidCoordinateException(sprintf('OutOfBounds - Invalid Coordinate "%s"', (string) $coordinate));
     }
     return @imagecolorat($this->getHandler(), $x, $y);
 }