Skip to content

Commit

Permalink
Sets png as the default format
Browse files Browse the repository at this point in the history
  • Loading branch information
MechTechnology authored Jun 12, 2021
1 parent ac91354 commit 191029a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SmartStitchGUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self, *args, **kwargs):
self.split_height = StringVar(value="5000")
self.senstivity = StringVar(value="90")
self.status = StringVar(value="Idle")
self.output_type = StringVar(value=".jpg")
self.output_type = StringVar(value=".png")
self.progress = ""
self.actionbutton = ""

Expand Down Expand Up @@ -81,7 +81,7 @@ def SetupSettingsFrame(self):
senstivity_field = ttk.Entry(settings_frame, textvariable=self.senstivity, validate='all')
senstivity_field['validatecommand'] = (senstivity_field.register(self.AllowPercentOnly),'%P','%d','%s')
type_label = ttk.Label(settings_frame, text = 'Output Images Type:')
type_dropdown = ttk.Combobox(settings_frame, textvariable=self.output_type, values=('.jpg', '.png', '.bmp', '.tiff', '.tga'))
type_dropdown = ttk.Combobox(settings_frame, textvariable=self.output_type, values=('.png', '.jpg', '.bmp', '.tiff', '.tga'))
split_label.grid(row=0, column=0, sticky="new")
split_field.grid(row=1, column=0, pady=(2,0), sticky="new")
senstivity_label.grid(row = 0, column = 1, padx=(15, 0), sticky="new")
Expand Down

0 comments on commit 191029a

Please sign in to comment.