Metadata-based image watermarking for copyright protection