Reduce method size and complexity in SrcImage.

Add specs for constraining source image size.
Move watermarking to own method.

Add spec for watermarking.
Conform to rubocop style.