function test_load_with_non_image_file()
 {
     $file = dirname(__FILE__) . "/../README.markdown";
     $img = new canvas();
     $this->assertFalse($img->load($file));
     $this->assertEqual($img->error_message(), "Invalid file. {$file} is not an image file.");
 }