So how do you add border to a photograph and may be add some watermark to it with captions. In this post I am going to show how I wrote a script for it using Node.js and gm module which uses GraphicsMagick.
Below is the input and output of image from the script.
I won’t go through details of how I set it up but it was hit and trial way to achieve desired output. You can find script in this repo: https://github.com/yalamber/WaterMarkerNepalSmiles