title: Extracting image from PDF with /CCITTFaxDecode filter
body: <p>I have a pdf that was generated from scanning software. The pdf has 1 TIFF image per page. I want to extract the TIFF image from each page.</p>
  <p>I am using iTextSharp and I have successfully found the images and can get back the raw bytes from the <code>PdfReader.GetStreamBytesRaw</code> method. The problem is, as many before me have discovered, iTextSharp does not contain a <code>PdfReader.CCITTFaxDecode</code> method.</p>
  <p>What else do I know? Even without iTextSharp I can open the pdf in notepad and find the streams with <code>/Filter /CCITTFaxDecode</code> and I know from the <code>/DecodeParams</code> that it is using CCITTFaxDecode group 4.</p>
  <p>Does anyone out there know how I can get the CCITTFaxDecode filter images out of my pdf?</p>