src/Modules/Imager/GDDriver.php
public function scale($scale)
    {
        $width = ceil($this->width * $scale);
        $height = ceil($this->height * $scale);

        $resized = $this->createGD($width, $height);
        imagecopyresampled($resized, $this->image_handler, 0, 0, 0, 0, $width, $height, $this->width, $this->height);
        $this->setImage($resized, $width, $height);

        return $this;
    }
public function scale($scale)
    {
        $width = ceil($this->width * $scale);
        $height = ceil($this->height * $scale);

        $resized = $this->createGD($width, $height);
        imagecopyresampled($resized, $this->image_handler, 0, 0, 0, 0, $width, $height, $this->width, $this->height);
        $this->setImage($resized, $width, $height);

        return $this;
    }
@param integer $scale

@return $this