Die Zeitmessung wurde deaktiviert
This commit is contained in:
+4
-4
@@ -1,6 +1,6 @@
|
|||||||
import glob
|
import glob
|
||||||
import os
|
import os
|
||||||
import time
|
# import time
|
||||||
|
|
||||||
import pymupdf # PyMuPDF
|
import pymupdf # PyMuPDF
|
||||||
from PySide6.QtCore import Qt
|
from PySide6.QtCore import Qt
|
||||||
@@ -350,13 +350,13 @@ class MainWindow(QMainWindow):
|
|||||||
alpha_value: Der neue Alpha-Wert (-100 bis 100)
|
alpha_value: Der neue Alpha-Wert (-100 bis 100)
|
||||||
"""
|
"""
|
||||||
print(f"Alpha geändert auf {alpha_value}")
|
print(f"Alpha geändert auf {alpha_value}")
|
||||||
start = time.time()
|
# start = time.time()
|
||||||
|
|
||||||
# Verwende gecachte Pixmaps für schnelle Alpha-Änderungen
|
# Verwende gecachte Pixmaps für schnelle Alpha-Änderungen
|
||||||
self.update_current_display()
|
self.update_current_display()
|
||||||
|
|
||||||
dauer = time.time() - start
|
# dauer = time.time() - start
|
||||||
print(f"Dauer: {dauer}")
|
# print(f"Dauer: {dauer}")
|
||||||
|
|
||||||
def create_layered_pixmap(self, ref_pixmap, diff_pixmap, new_pixmap, alpha_value):
|
def create_layered_pixmap(self, ref_pixmap, diff_pixmap, new_pixmap, alpha_value):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user