diff --git a/CHANGELOG.md b/CHANGELOG.md index 6fa6718c2..e6645dcb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +## 1.29.9 + +- Fix scaling small images in the multi source ([#1633](../../pull/1633)) + ## 1.29.8 ### Improvements diff --git a/sources/multi/large_image_source_multi/__init__.py b/sources/multi/large_image_source_multi/__init__.py index a400d528d..199b9bb33 100644 --- a/sources/multi/large_image_source_multi/__init__.py +++ b/sources/multi/large_image_source_multi/__init__.py @@ -1119,8 +1119,8 @@ def _getTransformedTile(self, ts, transform, corners, scale, frame, crop=None): # Recompute where the source corners will land destcorners = (np.dot(transform, regioncorners.T).T).tolist() destShape = [ - max(max(math.ceil(c[0]) for c in destcorners), srcImage.shape[1]), max(max(math.ceil(c[1]) for c in destcorners), srcImage.shape[0]), + max(max(math.ceil(c[0]) for c in destcorners), srcImage.shape[1]), ] if max(0, -x) or max(0, -y): transform[0][2] -= max(0, -x)