You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a watermark fits exactly one time into the cover text (without a seperator character at the end), the watermarker library is unable to extract the watermark. In such a case, the Result type is still successful (result.isSuccess is true), but the extracted watermark itself is empty (result.value is empty).
To Reproduce
Steps to reproduce the behavior:
Use "a" as watermark and "a a a a a a a a a a" as cover text
Watermark the cover text with default configuration (RawTrendmark)
Try to extract
--> The extraction will succeed with an empty watermark inside it
Expected Behavior
The value of the result should not be empty. It should contain the watermark.
System Information
Component: watermarker & webinterface
Runtime: Ubuntu
Version: latest version on main
Additional Context
The initial problem was identified by @eschrewe in a review of another PR (see #139 (comment))
Further, I created a Unit test to demonstrate the problem: 78e6691
The text was updated successfully, but these errors were encountered:
🐞 Bug Report
Describe the Bug
If a watermark fits exactly one time into the cover text (without a seperator character at the end), the watermarker library is unable to extract the watermark. In such a case, the
Result
type is still successful (result.isSuccess
istrue
), but the extracted watermark itself is empty (result.value
is empty).To Reproduce
Steps to reproduce the behavior:
Expected Behavior
The
value
of the result should not be empty. It should contain the watermark.System Information
Additional Context
The initial problem was identified by @eschrewe in a review of another PR (see #139 (comment))
Further, I created a Unit test to demonstrate the problem: 78e6691
The text was updated successfully, but these errors were encountered: