Translations:Manual:$wgCustomConvertCommand/18/en

This is the command you would set for using ImageMagick to overlay your files with a watermark file: