Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
geigerzaehler committed Jan 10, 2025
1 parent 92f596a commit ec9b39b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/cli_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ec9b39b

Please sign in to comment.