Extend overlay function

Added 'Fit to image' feature to apply watermarks proportionally.