Python code for watermarking images.