title: PDF Box generating blank images due to JBIG2 Images in it
body: <p>Let me give you an overview of my project first. I have a pdf which I need to convert into images(One image for one page) using <code>PDFBox</code> API and write all those images onto a new pdf using <code>PDFBox</code> API itself. Basically, converting a pdf into a pdf, which we refer to as PDF Transcoding.</p>
  
  <p>For certain pdfs, which contain JBIG2 images, PDFbox implementation of <code>convertToImage()</code> method is failing silently without any exceptions or errors and finally, producing a PDF, but this time, just with blank content(white). The message I am getting on the console is:</p>
  
  <pre><code>Dec 06, 2013 5:15:42 PM org.apache.pdfbox.filter.JBIG2Filter decode
  SEVERE: Can't find an ImageIO plugin to decode the JBIG2 encoded datastream.
  Dec 06, 2013 5:15:42 PM org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap getRGBImage
  SEVERE: Something went wrong ... the pixelmap doesn't contain any data.
  Dec 06, 2013 5:15:42 PM org.apache.pdfbox.util.operator.pagedrawer.Invoke process
  WARNING: getRGBImage returned NULL
  </code></pre>
  
  <p>I need to know how to resolve this issue? We have something like:</p>
  
  <pre><code>import org.apache.pdfbox.filter.JBIG2Filter; 
  </code></pre>
  
  <p>which I don't know how to implement. </p>
  
  <p>I am searching on that, but to no avail. Could anyone please suggest? </p>