Adaptive positioning of a visible watermark in a digital image