Python
improve performance again
Chris Malonee002b0d63162
diff --git a/plugins/gallery_utils.py b/plugins/gallery_utils.pyindex d6bef8b..f6de763 100644--- a/plugins/gallery_utils.py+++ b/plugins/gallery_utils.py@@ -42,7 +42,7 @@ if os.name == 'nt':DeleteObject.argtypes = [ctypes.c_void_p]DeleteObject.restype = wintypes.BOOL- def get_thumbnail_as_base64(file_path, size=256):+ def get_thumbnail_as_base64(file_path, size=128):hbitmap_handle = 0bmp_copy = Nonefactory_ptr = None