working with reactive stuff

This commit is contained in:
JISAUAY committed 2025-01-29 17:02:38 -06:00
1 parent 7ad56fa4be
commit 6c4e9c40b1
25 files changed
+20867 -20649

No files matched your search

+11 -11
View File
@@ -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)