@@ -98,7 +98,7 @@ def level_count(self) -> int:
98
98
99
99
@property
100
100
def level_dimensions (self ) -> tuple [tuple [int , int ], ...]:
101
- """A list of (width, height) tuples, one for each level of the image.
101
+ """A tuple of (width, height) tuples, one for each level of the image.
102
102
103
103
level_dimensions[n] contains the dimensions of level n."""
104
104
raise NotImplementedError
@@ -110,7 +110,7 @@ def dimensions(self) -> tuple[int, int]:
110
110
111
111
@property
112
112
def level_downsamples (self ) -> tuple [float , ...]:
113
- """A list of downsampling factors for each level of the image.
113
+ """A tuple of downsampling factors for each level of the image.
114
114
115
115
level_downsample[n] contains the downsample factor of level n."""
116
116
raise NotImplementedError
@@ -217,7 +217,7 @@ def level_count(self) -> int:
217
217
218
218
@property
219
219
def level_dimensions (self ) -> tuple [tuple [int , int ], ...]:
220
- """A list of (width, height) tuples, one for each level of the image.
220
+ """A tuple of (width, height) tuples, one for each level of the image.
221
221
222
222
level_dimensions[n] contains the dimensions of level n."""
223
223
return tuple (
@@ -226,7 +226,7 @@ def level_dimensions(self) -> tuple[tuple[int, int], ...]:
226
226
227
227
@property
228
228
def level_downsamples (self ) -> tuple [float , ...]:
229
- """A list of downsampling factors for each level of the image.
229
+ """A tuple of downsampling factors for each level of the image.
230
230
231
231
level_downsample[n] contains the downsample factor of level n."""
232
232
return tuple (
@@ -402,7 +402,7 @@ def level_count(self) -> Literal[1]:
402
402
403
403
@property
404
404
def level_dimensions (self ) -> tuple [tuple [int , int ]]:
405
- """A list of (width, height) tuples, one for each level of the image.
405
+ """A tuple of (width, height) tuples, one for each level of the image.
406
406
407
407
level_dimensions[n] contains the dimensions of level n."""
408
408
if self ._image is None :
@@ -411,7 +411,7 @@ def level_dimensions(self) -> tuple[tuple[int, int]]:
411
411
412
412
@property
413
413
def level_downsamples (self ) -> tuple [float ]:
414
- """A list of downsampling factors for each level of the image.
414
+ """A tuple of downsampling factors for each level of the image.
415
415
416
416
level_downsample[n] contains the downsample factor of level n."""
417
417
return (1.0 ,)
0 commit comments