public function loadFile($filename)
{
$this->reset();
if (!file_exists($filename)) {
throw new Horde_Image_Exception(sprintf("The image file, %s, does not exist.", $filename));
}
if (!($this->_data = file_get_contents($filename))) {
throw new Horde_Image_Exception(sprintf("Could not load the image file %s", $filename));
}
}