return checkImage(image, image.getWidth(observer), image.getHeight(observer), observer);
return checkImage(image, -1, -1, observer);
  public int checkImage(Image image, ImageObserver observer)  {    return checkImage(image, image.getWidth(observer),                      image.getHeight(observer), observer);  }