Border depth support, Refresh of demo programs,

This commit is contained in:
MikeTheWatchGuy 2018-11-24 17:52:31 -05:00
parent 623002b523
commit 05b1043758
4 changed files with 126 additions and 82 deletions

View file

@ -40,9 +40,9 @@ def main():
recording = True
elif event == 'Stop':
recording = False
# img = np.full((480, 640),255)
# imgbytes=cv2.imencode('.png', img)[1].tobytes() #this is faster, shorter and needs less includes
# window.FindElement('image').Update(data=imgbytes)
img = np.full((480, 640),255)
imgbytes=cv2.imencode('.png', img)[1].tobytes() #this is faster, shorter and needs less includes
window.FindElement('image').Update(data=imgbytes)
elif event == 'About':
sg.PopupNoWait('Made with PySimpleGUI',
'www.PySimpleGUI.org',