feat: image adjustments written to exif.
This commit is contained in:
parent
7adea3084a
commit
ef92ffb5b9
2 changed files with 14 additions and 5 deletions
|
|
@ -415,10 +415,14 @@ class OptimaLab35(QMainWindow, Ui_MainWindow):
|
|||
user_data["lens"] = self.ui.lens_comboBox.currentText()
|
||||
user_data["iso"] = self.ui.iso_comboBox.currentText()
|
||||
user_data["image_description"] = self.ui.image_description_comboBox.currentText()
|
||||
user_data["user_comment"] = self.ui.user_comment_comboBox.currentText()
|
||||
user_data["artist"] = self.ui.artist_comboBox.currentText()
|
||||
user_data["copyright_info"] = self.ui.copyright_info_comboBox.currentText()
|
||||
user_data["software"] = f"{self.name} {self.version} with {self.o.name} {self.o.version}"
|
||||
if int(self.ui.contrast_spinBox.text()) != 0 or int(self.ui.brightness_spinBox.text()) != 0:
|
||||
user_data["user_comment"] = f"{self.ui.user_comment_comboBox.currentText()}, contrast: {self.ui.contrast_spinBox.text()}, brightness: {self.ui.brightness_spinBox.text()}"
|
||||
else:
|
||||
user_data["user_comment"] = self.ui.user_comment_comboBox.currentText()
|
||||
|
||||
return user_data
|
||||
|
||||
def get_selected_exif(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue