Add different ways to compute the watermark scale.

It is now possible to chose the scale to be relative to the image,
the smaller border and the larger border. Only the two last options
are independent of the image orientation.
WIP
WIP