mozilla/pdf.js — pull request #5479 by plroit (2014-11-09 07:02:54+00:00)
Title: Handling jpx images with multiple precincts per resolution level

As discussed in the comment thread for [issue 5475] (https://github.com/mozilla/pdf.js/issues/5475)
introduced a small change at how codeblocks of each resolution are mapped to their precincts,
for the non-degenerate case.
Has been tested with large images (5K x 3K approx.) RGB, multiple quality layers, 6 resolution levels
with the following test cases:

1. No precincts at all (single default precinct for each resolution level)
2. Multiple precincts per resolution level with varying sizes for each resolution
3. Precincts with a size larger than the image (should be the similar to the degenerate case).