code: public void readImage() {
      if (ifd.containsTagId(TiffTags.getTagId("StripOffsets"))
          || ifd.containsTagId(TiffTags.getTagId("StripBYTECount"))) {
        readStrips();
      }
      if (ifd.containsTagId(TiffTags.getTagId("TileOffsets"))
          || ifd.containsTagId(TiffTags.getTagId("TileBYTECounts"))) {
        readTiles();
      }
    }
docs: Reads the image, which can be stored in strips and/or in tiles.