working with reactive stuff
This commit is contained in:
1 parent
7ad56fa4be
commit
6c4e9c40b1
25 files changed
+20867
-20649
No files matched your search
+11
-11
@@ -1,12 +1,12 @@
|
||||
from rich_pixels import Pixels
|
||||
from rich.console import Console
|
||||
from PIL import Image
|
||||
|
||||
console = Console()
|
||||
|
||||
size = 70
|
||||
|
||||
with Image.open("cover.png") as image:
|
||||
pixels = Pixels.from_image(image, resize=(size, size))
|
||||
|
||||
from rich_pixels import Pixels
|
||||
from rich.console import Console
|
||||
from PIL import Image
|
||||
|
||||
console = Console()
|
||||
|
||||
size = 70
|
||||
|
||||
with Image.open("cover.png") as image:
|
||||
pixels = Pixels.from_image(image, resize=(size, size))
|
||||
|
||||
console.print(pixels)
|
||||
Reference in new issue
Block a user