code: public void reset()
      {
          abort = false;
          complete = false;
          width = -1;
          height = -1;
          if (image != null) image.flush();
          image = null;
      }
docs: Resets all data to default state, releases the image resources.