mirror of
https://github.com/wiltodelta/remove-ai-watermarks.git
synced 2026-09-01 18:20:35 +02:00
Align watermark content with detector coverage
This commit is contained in:
+2
-2
@@ -228,8 +228,8 @@ class TestVisibleCommand:
|
||||
# The transparent corners must remain transparent.
|
||||
assert out[0, 0, 3] == 0
|
||||
assert out[199, 199, 3] == 0
|
||||
# The opaque centre remains opaque (the watermark region default is bottom-right,
|
||||
# which doesn't overlap the centre square at 200x200).
|
||||
# The opaque center remains opaque (the watermark region default is bottom-right,
|
||||
# which doesn't overlap the center square at 200x200).
|
||||
assert out[100, 100, 3] == 255
|
||||
|
||||
def test_visible_keeps_alpha_opaque_in_watermark_region(self, runner, tmp_path):
|
||||
|
||||
Reference in New Issue
Block a user