This bash
script is intended to add a watermark on identity documents before being
sent to third parties.
The aim of this watermark is to reduce the risk of identity theft.
Usage example:
./waterdoc.sh ./data/myid.png "THE INTERNETS"
This will convert the following image:
into this watermarked one:
This script depends on ImageMagick's convert
and composite
.
To install ImageMagick on a Debian based Linux machine, including Ubuntu, type:
sudo apt --yes install imagemagick