Added Canon CR2 RAW photo format
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -14,6 +14,7 @@ Tiziano Trabattoni | 2023/08/14 | Sorting by Creation date with exiftool
|
||||
Tiziano Trabattoni | 2024/08/19 | Changed movie tags to include filemodification date for .mp4 from Android
|
||||
Tiziano Trabattoni | 2024/12/28 | Introduced possibility to ignore metadata and sort only by filename for Undetermined Metadata (old slides)
|
||||
Tiziano Trabattoni | 2025/01/08 | Added steps for numbering
|
||||
Tiziano Trabattoni | 2025/08/20 | Added Canon .CR2 RAW format
|
||||
|
||||
####### Developed under poetry (with pyqt6 M1 ARM64 code available)
|
||||
~/Develop/Personal/PICT_poetry » poetry remove pyqt5
|
||||
@@ -62,8 +63,8 @@ from PyQt6.QtGui import QPixmap
|
||||
global LOGGER
|
||||
|
||||
''' Module version '''
|
||||
mod_ver = "v2.3"
|
||||
mod_dver = "2025:01:08"
|
||||
mod_ver = "v2.4"
|
||||
mod_dver = "2025:08:20"
|
||||
|
||||
''' Logger Variables '''
|
||||
LOG_FORMAT = '%(asctime)s|%(levelname)-7s|%(funcName)-15s|%(lineno)-5d: %(message)-50s'
|
||||
@@ -72,13 +73,13 @@ LOG_TIME_FORMAT = '%m-%d %H:%M:%S'
|
||||
CONSOLE_DEBUG = logging.INFO
|
||||
FILE_DEBUG = logging.INFO
|
||||
|
||||
PHOTO_filter = 'Images (*.jpg *.jpeg *.png *.tiff *.heic, *.tif, *.HEIC)'
|
||||
PHOTO_filter = 'Images (*.jpg *.jpeg *.png *.tiff *.heic, *.tif, *.HEIC , *.CR2)'
|
||||
MOVIE_filter = 'Movies (*.mov *.mp4 )'
|
||||
|
||||
# file format and extension variables
|
||||
EXIFTOOL = "exiftool"
|
||||
EXIF_PHOTO_EXT = (".jpg", ".JPG", ".jpeg", ".JPEG", ".png", ".PNG", ".heic", ".HEIC", ".tiff", ".TIFF", ".tif", ".TIF")
|
||||
EXIF_MOVIE_EXT = (".mov", ".MOV", ".mp4", ".MP4",)
|
||||
EXIF_PHOTO_EXT = (".jpg", ".JPG", ".jpeg", ".JPEG", ".png", ".PNG", ".heic", ".HEIC", ".tiff", ".TIFF", ".tif", ".TIF", ".cr2", ".CR2")
|
||||
EXIF_MOVIE_EXT = (".mov", ".MOV", ".mp4", ".MP4")
|
||||
EXIF_PHOTO_TAGS = ("-datetimeoriginal", "-filecreatedate", "-filemodifydate",)
|
||||
EXIF_MOVIE_TAGS = ("-mediacreatedate","-filemodifydate",)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user