1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-19 05:19:40 +02:00

work in progress

This commit is contained in:
dbarzin 2022-06-26 22:10:20 +02:00
parent 2484b9ed06
commit 554b32e96b
4 changed files with 82 additions and 0 deletions

BIN
tests/image1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

BIN
tests/image2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

14
tests/images.py Executable file
View file

@ -0,0 +1,14 @@
#!/usr/bin/python3
import os
import time
os.system("convert -resize 1920x1080 -background black -gravity center -extent 1920x1080 image1.png bgra:/dev/fb0")
time.sleep(1)
os.system("convert -resize 1920x1080 -background black -gravity center -extent 1920x1080 image2.png bgra:/dev/fb0")
time.sleep(1)
os.system("convert -resize 1920x1080 -background black -gravity center -extent 1920x1080 image1.png bgra:/dev/fb0")
time.sleep(1)
os.system("convert -resize 1920x1080 -background black -gravity center -extent 1920x1080 image2.png bgra:/dev/fb0")
time.sleep(1)