From 5857def267e3317abe1beb87e97096ed93048817 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 4 Feb 2025 12:40:07 +0000 Subject: [PATCH] Less default opacity for image watermarks --- epicyon.py | 2 +- tests.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/epicyon.py b/epicyon.py index 8a69f26a7..c9c6edc8f 100644 --- a/epicyon.py +++ b/epicyon.py @@ -272,7 +272,7 @@ def _command_options() -> None: 'images as a percentage of the attached image width') parser.add_argument('--watermarkOpacity', dest='watermark_opacity', type=int, - default=10, + default=5, help='Opacity of watermark applied to attached images') parser.add_argument('--watermarkPosition', dest='watermark_position', type=str, diff --git a/tests.py b/tests.py index 367284e0a..50e57d509 100644 --- a/tests.py +++ b/tests.py @@ -905,7 +905,7 @@ def create_server_alice(path: str, domain: str, port: int, accounts_data_dir = None watermark_width_percent = 30 watermark_position = 'east' - watermark_opacity = 10 + watermark_opacity = 5 bind_to_ip_address = '' print('Server running: Alice') run_daemon(accounts_data_dir, @@ -1102,7 +1102,7 @@ def create_server_bob(path: str, domain: str, port: int, accounts_data_dir = None watermark_width_percent = 30 watermark_position = 'east' - watermark_opacity = 10 + watermark_opacity = 5 bind_to_ip_address = '' print('Server running: Bob') run_daemon(accounts_data_dir, @@ -1201,7 +1201,7 @@ def create_server_eve(path: str, domain: str, port: int, federation_list: [], accounts_data_dir = None watermark_width_percent = 30 watermark_position = 'east' - watermark_opacity = 10 + watermark_opacity = 5 bind_to_ip_address = '' print('Server running: Eve') run_daemon(accounts_data_dir, no_of_books, @@ -1324,7 +1324,7 @@ def create_server_group(path: str, domain: str, port: int, accounts_data_dir = None watermark_width_percent = 30 watermark_position = 'east' - watermark_opacity = 10 + watermark_opacity = 5 bind_to_ip_address = '' print('Server running: Group') run_daemon(accounts_data_dir,