diff --git a/Core/Viewer.py b/Core/Viewer.py
index 20516e56..7e2bb491 100644
--- a/Core/Viewer.py
+++ b/Core/Viewer.py
@@ -472,18 +472,9 @@ def update_thread(
f"rgba{color if '#' not in color else '(0, 0, 0, 255)'});"
)
- path_webp = os.path.basename(layer['route'])
- path_webp, uncompressed_extension = os.path.splitext(path_webp)
- path_webp = os.path.join(os.path.dirname(layer['route']), "webp", path_webp + ".webp")
- path_webp = str(os.path.join(self.res_dir, path_webp)).replace("\\", "/")
- if not os.path.isfile(path_webp):
- path_webp = str(os.path.join(self.res_dir, layer["route"]))
- # print(path_webp)
-
img_tag = soup.new_tag(
'img',
- src=f"{path_webp}",
- # type="image/webp",
+ src=f"{layer['route']}",
style=f"""
position: absolute !important;
left: calc(50% + {layer['posX']}px);
diff --git a/Core/imageGallery.py b/Core/imageGallery.py
index 3b74eb0d..77378c61 100644
--- a/Core/imageGallery.py
+++ b/Core/imageGallery.py
@@ -134,12 +134,6 @@ def create_thumbnail(self, input_path, max_size=(50, 50), quality=90, custom_nam
os.makedirs(webp_folder, exist_ok=True)
uncompressed_file, uncompressed_extension = os.path.splitext(file_name)
- webp_path = os.path.join(webp_folder, uncompressed_file + ".webp")
- if not os.path.exists(webp_path) and "gif" not in extension.lower() and "svg" not in extension.lower():
- image = Image.open(input_path)
- image = image.convert('RGBA')
- image.save(webp_path, 'webp', optimize=True, quality=85, save_all=True)
- print(webp_path)
if os.path.exists(thumbnail_path):
return QIcon(thumbnail_path)
diff --git a/UI/audioMonitor.ui b/UI/audioMonitor.ui
index 1c90dabc..c2ce2894 100644
--- a/UI/audioMonitor.ui
+++ b/UI/audioMonitor.ui
@@ -7,7 +7,7 @@
0
0
267
- 215
+ 155
@@ -112,8 +112,10 @@
color: rgb(255, 0, 4);
- This mic has some
-unidentified problems
+ This mic has some unidentified problems
+
+
+ true