code: @Override
    public void validate() {
      int n = 0;
      try {
        for (TiffObject o : model.getImageIfds()) {
          IFD ifd = (IFD) o;
          IfdTags metadata = ifd.getMetadata();
          validateMetadata(metadata);
          checkImage(ifd, n, metadata);
          n++;
        }
      } catch (Exception ex) {
  
      }
    }
docs: Validates the IFD.