im = $im; } /** * Sets the filename. * * @param string $filename */ public function setFilename($filename) { $this->filename = $filename; } /** * Method needed to draw the image based on its specification (JPG, GIF, etc.). */ abstract public function draw(); } ?>