Allow optional “merge” argument which defaults to 1

References thumbor/opencv-engine#4, thumbor/opencv-engine#5 and
thumbor/opencv-engine#6