title: pdfbox and itext not able to extract image
body: <p>I am trying to extract images from a pdf . pdfbox is able to extract images from most of the pdfs but their are some pdfs whose images are not getting extracted by pdfbox. </p>
  
  <p>For extracting the image I am using following code : 
   <a href="https://stackoverflow.com/questions/27800058/not-able-to-extract-images-from-pdfa1-a-format-document">Not able to extract images from PDFA1-a format document</a></p>
  
  <p>You can download a sample pdf with this problem from this link : 
  <a href="http://myslams.com/test/2.pdf" rel="nofollow noreferrer">http://myslams.com/test/2.pdf</a> </p>
  
  <p>is their something wrong the code maybe something I forgot to handle or is their something wrong with the pdf all together  ?</p>