Check file integrity
(self)
| 280 | super().__setstate__(state) |
| 281 | |
| 282 | def verify(self) -> None: |
| 283 | """Check file integrity""" |
| 284 | |
| 285 | # raise exception if something's wrong. must be called |
| 286 | # directly after open, and closes file when finished. |
| 287 | if self._exclusive_fp and self.fp: |
| 288 | self.fp.close() |
| 289 | self.fp = None |
| 290 | |
| 291 | def load(self) -> Image.core.PixelAccess | None: |
| 292 | """Load image data based on tile list""" |