mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-08-02 20:35:26 +02:00
work in progress
This commit is contained in:
parent
99a6960a13
commit
417c3c7998
3 changed files with 18 additions and 7 deletions
|
@ -5,13 +5,13 @@
|
|||
import os
|
||||
import time
|
||||
|
||||
format = "1020x600"
|
||||
#format = "1920x1080"
|
||||
size = "1020x600"
|
||||
#size = "1920x1080"
|
||||
|
||||
images = ["pandora-box1.png", "pandora-box2.png", "pandora-box3.png", "pandora-box4.png"]
|
||||
|
||||
for image in images :
|
||||
os.system("convert -resize %s -background black -gravity center -extent %s %s bgra:/dev/fb0" % (format,format,image))
|
||||
os.system("convert -resize %s -background black -gravity center -extent %s %s bgra:/dev/fb0" % (size, size, image))
|
||||
time.sleep(1)
|
||||
|
||||
os.system("reset")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue