title: Getting Image from drawable and adding to PDF using iText
body: <p>I want to add image to android PDF using iText. I want to achieve this without saving image to SDCard first. I put my image into res/drawable folder but proving the image path doesn’t work and it throws FileNotFound Exception. My path is like this:</p>
  
  <pre><code>String path = “res/drawable/myImage.png”
  Image image = Image.getInstance(path);
  document.add(image);
  </code></pre>
  
  <p>Now please suggest me a solution how I will add correct file path to getInstance(…) method. Thanks</p>