/** * Loads an image from a file. * * @param string $imagePath The path to the image. * * @return $this */ public function load($imagePath) { $this->resource->load($imagePath); return $this; }