Skip to content

Commit

Permalink
Merge pull request #5712 from OpenShot/animated-gif-import
Browse files Browse the repository at this point in the history
Better support for Animated GIF and Static GIF formats
  • Loading branch information
jonoomph authored Mar 2, 2025
2 parents b22c58a + 39d6d38 commit e65f6cf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/classes/image_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def is_image(file_object):
".bmp",
".dpx",
".exr",
".gif",
".jpg",
".jpeg",
".pam",
Expand Down
2 changes: 1 addition & 1 deletion src/windows/models/files_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ def get_image_sequence_details(self, file_path):
if dirName in self.ignore_image_sequence_paths:
return None

extensions = ["png", "jpg", "jpeg", "gif", "tif", "svg"]
extensions = ["png", "jpg", "jpeg", "tif", "svg"]
match = re.findall(r"(.*[^\d])?(0*)(\d+)\.(%s)" % "|".join(extensions), fileName, re.I)

if not match:
Expand Down

0 comments on commit e65f6cf

Please sign in to comment.