Skip to content

Commit

Permalink
Adds input support for jfif
Browse files Browse the repository at this point in the history
- Supports new variation of jpg files
[Kakao's New Format :/]
  • Loading branch information
MechTechnology authored Jun 21, 2021
1 parent d581438 commit 2025b3f
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 @@ -41,7 +41,7 @@ def geticon(self, relative_path):
# return os.path.join(base_path, relative_path)
def SetupWindow(self):
# Sets up Title and Logo
self.title('SmartStitch by MechTechnology [1.5]')
self.title('SmartStitch by MechTechnology [1.6]')
self.iconbitmap(default=self.geticon("SmartStitchLogo.ico"))

# Sets Window Size, centers it on Launch and Prevents Resize.
Expand Down Expand Up @@ -174,7 +174,7 @@ def LoadImages(self):
if len(files) == 0:
return images
for imgFile in files:
if imgFile.endswith(('.png', '.webp', '.jpg', '.jpeg', '.bmp', '.tiff', '.tga')):
if imgFile.endswith(('.png', '.webp', '.jpg', '.jpeg', '.jfif', '.bmp', '.tiff', '.tga')):
imgPath = os.path.join(folder, imgFile)
image = pil.open(imgPath)
images.append(image)
Expand Down

0 comments on commit 2025b3f

Please sign in to comment.