src/Modules/Imager/GDDriver.php
public function create($width, $height, $color = '#FFF', $opacity = 0)
    {
        $image_handler = $this->createGD($width, $height, $color, $opacity);
        $this->setImage($image_handler, $width, $height);
        imagefilledrectangle($image_handler, 0, 0, $width, $height, $this->getColor($color, $opacity));

        return $this;
    }
public function create($width, $height, $color = '#FFF', $opacity = 0)
    {
        $image_handler = $this->createGD($width, $height, $color, $opacity);
        $this->setImage($image_handler, $width, $height);
        imagefilledrectangle($image_handler, 0, 0, $width, $height, $this->getColor($color, $opacity));

        return $this;
    }
@param integer $width
@param integer $height
@param string $color
@param integer $opacity

@return $this