title: Image pixels getting lost while rotation using leptonica
body: <p>I want to extract text from an image for which I need to rotate it in steps of 90 degrees.When  I rotate the image using </p>
  
  <pre><code>pixRotate(image, deg2rad * angle, L_ROTATE_AREA_MAP, L_BRING_IN_BLACK, 0, 0)
  </code></pre>
  
  <p>some pixels at the top and bottom are lost.The variations I have tried are </p>
  
  <pre><code>pixRotate(image, deg2rad * angle, L_ROTATE_AREA_MAP, L_BRING_IN_BLACK, w, h)
  </code></pre>
  
  <p>and also with L_ROTATE_SHEAR, L_ROTATE_SAMPLING.However The pixels near the boundary are getting lost in each case.Is there a way to do this rotation without loosing pixels?</p>