title: FPDF Error: Error while decompressing stream
body: <p>I've built a web application incorporating the fpdf library which allows clients to upload pdf files which my system then combines into a monthly report (adding a cover, contents page etc.).</p>
  
  <p>Last month I got this error:</p>
  
  <p><strong>FPDF Error:</strong> Error while decompressing stream</p>
  
  <p>I've googled it and the only people who have encountered it before seem to be German!</p>
  
  <p>The error handler is at line 241 of fpdi_pdf_parser.php and refers to "case '/FlateDecode':" and other things I don't understand.</p>
  
  <p>I traced the problem to a single pdf file which appeared normal but consistently caused the problem. I created a new version of the pdf by screen grabbing from the old one and when I uploaded that everything worked. </p>
  
  <p>As I say I got round the problem but don't really understand how and don't want to run into the same thing again.</p>
  
  <p>Any ideas what was going on? </p>
  
  <p>Thanks in advance.</p>