mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-22 23:09:41 +02:00
add image
This commit is contained in:
parent
acb9cac892
commit
6e974ca2df
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ import time
|
||||||
size = "1024x600"
|
size = "1024x600"
|
||||||
#size = "1920x1080"
|
#size = "1920x1080"
|
||||||
|
|
||||||
images = ["pandora-box1.png", "pandora-box2.png", "pandora-box3.png", "pandora-box4.png"]
|
images = ["pandora-box1.png", "pandora-box2.png", "pandora-box3.png", "pandora-box4.png", "pandora-box5.png"]
|
||||||
|
|
||||||
for image in images :
|
for image in images :
|
||||||
os.system("convert -resize %s -background black -gravity center -extent %s %s bgra:/dev/fb0" % (size, size, image))
|
os.system("convert -resize %s -background black -gravity center -extent %s %s bgra:/dev/fb0" % (size, size, image))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue