From ec9b39b9cc2be67216be10966e897da923b0e5fe Mon Sep 17 00:00:00 2001 From: Thomas Scholtes Date: Fri, 10 Jan 2025 10:35:20 +0100 Subject: [PATCH] wip --- test/cli_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/cli_test.py b/test/cli_test.py index bcbb4ba..b60f69c 100644 --- a/test/cli_test.py +++ b/test/cli_test.py @@ -412,6 +412,8 @@ def touch_art(item: Item, image_path: Path): tmp_embedded_image = tmp_path / "embedded_image.png" tmp_embedded_image.write_bytes(mediafile.art) # pyright: ignore art_resizer = ArtResizer() + print(art_resizer.local_method) + print(art_resizer.get_size(bytes(tmp_embedded_image))) (width, height) = art_resizer.get_size(bytes(tmp_embedded_image)) # pyright: ignore assert width == 1 assert height < 3