Show More
@@ -1098,9 +1098,9 b' class Image(DisplayObject):' | |||||
1098 | if ext is not None: |
|
1098 | if ext is not None: | |
1099 | if ext == u'jpg' or ext == u'jpeg': |
|
1099 | if ext == u'jpg' or ext == u'jpeg': | |
1100 | format = self._FMT_JPEG |
|
1100 | format = self._FMT_JPEG | |
1101 | if ext == u'png': |
|
1101 | elif ext == u'png': | |
1102 | format = self._FMT_PNG |
|
1102 | format = self._FMT_PNG | |
1103 | if ext == u'gif': |
|
1103 | elif ext == u'gif': | |
1104 | format = self._FMT_GIF |
|
1104 | format = self._FMT_GIF | |
1105 | else: |
|
1105 | else: | |
1106 | format = ext.lower() |
|
1106 | format = ext.lower() |
General Comments 0
You need to be logged in to leave comments.
Login now