JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbrimage = imagecreatefromstring($image); } /* * Returns the width of an image * * @return int */ public function getWidth() { return imagesx($this->image); } /* * Returns the height of an image * * @return int */ public function getHeight() { return imagesy($this->image); } /** * Returns the image string. * * @return string */ public function getImageResource() { return $this->image; } /** * Sets the image string. * * @param resource $image */ public function setImageResource($image) { $this->image = $image; } }