public function resize($width, $height) { $this->addConvertOption('resize', "{$width}x{$height}"); $this->setWidth($width); $this->setHeight($height); return $this; }