Return the size of the image as tuple (numrows, numcols).
(self)
| 301 | return {**super().__getstate__(), "_imcache": None} |
| 302 | |
| 303 | def get_size(self): |
| 304 | """Return the size of the image as tuple (numrows, numcols).""" |
| 305 | return self.get_shape()[:2] |
| 306 | |
| 307 | def get_shape(self): |
| 308 | """ |