A (width, height) 2-tuple representing the dimensions of this image in pixels.
(self)
| 134 | |
| 135 | @property |
| 136 | def _px_size(self) -> tuple[int, int]: |
| 137 | """A (width, height) 2-tuple representing the dimensions of this image in pixels.""" |
| 138 | image = Image.from_blob(self._blob) |
| 139 | return image.size |
| 140 | |
| 141 | |
| 142 | class Image(object): |