private function expandImage($color, $borderWidth, $borderHeight) {
        $this->imageWidth = $this->image->getWidth();
        $this->imageHeight = $this->image->getHeight();

        $original = clone $this->imagick;

        // Clear the original and make the canvas
        $this->imagick->clear();

        $this->imagick->newImage(
            $this->imageWidth  + ($borderWidth  * 2),
            $this->imageHeight + ($borderHeight * 2),
            $color
        );
        $this->imagick->setImageAlphaChannel(Imagick::ALPHACHANNEL_OPAQUE);
        $this->imagick->setImageFormat($this->image->getExtension());

        $this->imagick->compositeImage(
            $original,
            Imagick::COMPOSITE_COPY,
            $borderWidth,
            $borderHeight
        );
    }