effects: image: make saving and minsize work (#433)

This commit is contained in:
redPanther
2017-04-14 07:58:34 +02:00
committed by GitHub
parent b65d811640
commit f6209174c3
4 changed files with 128 additions and 100 deletions

View File

@@ -2,8 +2,8 @@ import hyperion, time, datetime
# Get the parameters
showSeconds = bool(hyperion.args.get('show_seconds', True))
centerX = int(round(hyperion.imageWidth)/2)
centerY = int(round(float(hyperion.imageHeight)/2))
centerX = int(round(hyperion.imageWidth())/2)
centerY = int(round(float(hyperion.imageHeight())/2))
colorsSecond = bytearray([
0, 255,255,0,255,