mozilla/pdf.js — pull request #4653 by fkaelberer (2014-04-19 18:33:04+00:00)
Title: Fix corrupted images #4649

Adds support for CMYK multiple component transform and so fixes #4649.

Sorry for that bug. I thought I had read in the JPEG2000 draft that multiple component transform only applies to 3 component images, but I got that wrong.
Additionally, according to the PDF 1.7 spec, page 89, 4 color images should be interpreted as CMYK unless specified otherwise.