|
@@ -41,6 +41,15 @@ def get_scene_image_quality(img_path):
|
|
|
return int(img_quality)
|
|
|
|
|
|
|
|
|
+def get_scene_image_postfix(img_path):
|
|
|
+
|
|
|
+ # if path getting last element (image name) and extract quality
|
|
|
+ img_postfix = img_path.split('/')[-1].split(scene_image_quality_separator)[-1]
|
|
|
+ img_quality = img_postfix.replace(scene_image_extension, '')
|
|
|
+
|
|
|
+ return img_quality
|
|
|
+
|
|
|
+
|
|
|
def get_scene_image_prefix(img_path):
|
|
|
|
|
|
# if path getting last element (image name) and extract prefix
|