We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e177615 commit 65a48faCopy full SHA for 65a48fa
PySimpleGUI_Colorizer.py
@@ -19,7 +19,7 @@
19
import PySimpleGUI as sg
20
import os.path
21
22
-version = '2 April 2020'
+version = '7 June 2020'
23
24
prototxt = r'model/colorization_deploy_v2.prototxt'
25
model = r'model/colorization_release_v2.caffemodel'
@@ -186,7 +186,7 @@ def convert_to_grayscale(frame):
186
window['-OUT-'].update('')
187
break
188
elif event == '-SAVE-' and colorized is not None: # Clicked the Save File button
189
- filename = sg.popup_get_file('Save colorized image.\nColorized image be saved in format matching the extension you enter.')
+ filename = sg.popup_get_file('Save colorized image.\nColorized image be saved in format matching the extension you enter.', save_as=True)
190
try:
191
if filename:
192
cv2.imwrite(filename, colorized)
0 commit comments