title: How do I create a border around a rectangle in an image(PIX) in Leptonica?
body: <p>I have an image in PIX format, and I have a BOX[with the necessary coordinates] too, I would like to draw a border around the content that's in the box, like for example -<br>
  <img src="https://i.stack.imgur.com/qhefA.png" alt="example"></p>
  
  <p>I've looked around in the documentation, but so far I've only found out how to border the whole image, not just a rectangle inside it.</p>