invisible-watermark
invisible-watermark copied to clipboard
Maximum watermark length is only 9 characters!
You can't encode much of a watermark with only 9 characters.
This limitation should be specified in the README.
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
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?
@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.