working on cover art
This commit is contained in:
1 parent
ee479940b6
commit
2d97c921af
4 files changed
+26
-2
No files matched your search
@@ -0,0 +1,10 @@
|
||||
from rich_pixels import Pixels
|
||||
from rich.console import Console
|
||||
from PIL import Image
|
||||
|
||||
console = Console()
|
||||
|
||||
with Image.open("cover.png") as image:
|
||||
pixels = Pixels.from_image(image, resize=(60, 60))
|
||||
|
||||
console.print(pixels)
|
||||
Reference in new issue
Block a user