title: Ionic2 Signature Pad resize image
body: <p>Am capturing an image through camera and saving it to signature pad. The image is occupying certain portion on signature pad. How to resize image to that of the size of signature pad. </p>
  
  <p>Here is the screen shot of image after saving it to signature pad. Grey part is signature pad. Image is to the top left corner. </p>
  
  <p>Can some body please tell how can I resize image or at least tell how to get height and width of image? Signature pad dimensions are statically given </p>
  
  <p><a href="https://i.stack.imgur.com/FMWq1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FMWq1.png" alt="enter image description here"></a></p>