Skip to content

Commit ffcc9aa

Browse files
authored
Merge branch 'develop' into dev-define-engines-abc
2 parents 209c50a + 70db186 commit ffcc9aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tiatoolbox/utils/transforms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ def background_composite(
5353
)
5454
composite.alpha_composite(image)
5555
if not alpha:
56-
return np.asarray(composite.convert("RGB"))
56+
return np.array(composite.convert("RGB"))
5757

58-
return np.asarray(composite)
58+
return np.array(composite)
5959

6060

6161
def _convert_scalar_to_width_height(array: np.ndarray) -> np.ndarray:

0 commit comments

Comments
 (0)