code: def _handle_tag_jpegtables(self):
          
          obj = _make_object("JPEGTables")
          assert self._src.read(2) == b'\xFF\xD8'  # SOI marker
          eoimark1 = eoimark2 = None
          allbytes = [b'\xFF\xD8']
          while not (eoimark1 == b'\xFF' and eoimark2 == b'\xD9'):
              newbyte = self._src.read(1)
              allbytes.append(newbyte)
              eoimark1 = eoimark2
              eoimark2 = newbyte
  
          # concatenate everything, removing the end mark
          obj.JPEGData = b"".join(allbytes[:-2])
          return obj
docs: Handle the JPEGTables tag.