title: how to add watermark to an image nodejs
body: <p>How to add watermark to an image in nodejs. I am using loopback framework and I want to add a watermark to every image uploaded,I tried a couple of image processing modules but couldnt implement a watermark.</p>
  
  <p>I tried the image-watermark library with the code : </p>
  
  <pre><code>watermark.embedWatermark('./server/storage/images/img_hkd.jpg', { 'text': 'sample watermark' });
  </code></pre>
  
  <p>But I am getting this error : Error: spawn identify ENOENT</p>