invisible-watermark icon indicating copy to clipboard operation
invisible-watermark copied to clipboard

Maximum watermark length is only 9 characters!

Open exo-pla-net opened this issue 1 year ago • 3 comments

You can't encode much of a watermark with only 9 characters.

This limitation should be specified in the README.

exo-pla-net avatar Aug 30 '22 00:08 exo-pla-net

For anyone landing here, wanting to hide more than 9 characters, I wrote this code to hide any object in an image as an invisible watermark: https://gist.github.com/exo-pla-net/c3ad83034ca15e60af6d592e749aab56

exo-pla-net avatar Aug 31 '22 00:08 exo-pla-net

For anyone landing here, wanting to hide more than 9 characters, I wrote this code to hide any object in an image as an invisible watermark:

https://gist.github.com/exo-pla-net/c3ad83034ca15e60af6d592e749aab56

That's super cool! Did you test as replacement to this invisible-watermark in CompVis script?

loretoparisi avatar Sep 02 '22 06:09 loretoparisi

@exo-pla-net Nice script!

But please note that it uses the pickle module for encoding/decoding which can lead to security issues.

From Python docs:

Warning: The pickle module is not secure. Only unpickle data you trust. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling. Never unpickle data that could have come from an untrusted source, or that could have been tampered with.

muhqu avatar Sep 05 '22 08:09 muhqu