fix: fixed insert exif feature
This commit is contained in:
parent
ef92ffb5b9
commit
d356937e41
2 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,9 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## 1.3.x
|
## 1.3.x
|
||||||
|
### 1.3.1: Fix - Fixed insert exif not working
|
||||||
|
- Fixed the feature that inserted exif into images without modifying them.
|
||||||
|
|
||||||
### 1.3.0: Feature – Write Adjustments into EXIF
|
### 1.3.0: Feature – Write Adjustments into EXIF
|
||||||
- Changes to contrast and brightness are now recorded in the EXIF comment section (labeled *Scanner* in the program).
|
- Changes to contrast and brightness are now recorded in the EXIF comment section (labeled *Scanner* in the program).
|
||||||
- This allows users to track what adjustments were made to an image.
|
- This allows users to track what adjustments were made to an image.
|
||||||
|
|
|
@ -341,7 +341,7 @@ class OptimaLab35(QMainWindow, Ui_MainWindow):
|
||||||
def control_ending(self, name_lst):
|
def control_ending(self, name_lst):
|
||||||
for item in name_lst:
|
for item in name_lst:
|
||||||
try:
|
try:
|
||||||
int(item[-1])
|
int(item[-5])
|
||||||
except ValueError:
|
except ValueError:
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
@ -377,6 +377,7 @@ class OptimaLab35(QMainWindow, Ui_MainWindow):
|
||||||
return
|
return
|
||||||
|
|
||||||
image_list = self.image_list_from_folder(self.settings["input_folder"])
|
image_list = self.image_list_from_folder(self.settings["input_folder"])
|
||||||
|
print(image_list)
|
||||||
if not self.control_ending(image_list):
|
if not self.control_ending(image_list):
|
||||||
QMessageBox.warning(self, "Warning", f"Error: one or more filenames do not end on a number.\nCan not adjust time")
|
QMessageBox.warning(self, "Warning", f"Error: one or more filenames do not end on a number.\nCan not adjust time")
|
||||||
self.toggle_buttons(True)
|
self.toggle_buttons(True)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue