1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Merge pull request #1359 from notmasteryet/issue-1357

Add 'Indexed' colorspace abbreviation
This commit is contained in:
Brendan Dahl 2012-03-19 09:34:28 -07:00
commit cdbbd76594
4 changed files with 10 additions and 0 deletions

View file

@ -135,6 +135,7 @@ var ColorSpace = (function ColorSpaceClosure() {
basePatternCS = ColorSpace.parseToIR(basePatternCS, xref, res);
return ['PatternCS', basePatternCS];
case 'Indexed':
case 'I':
var baseIndexedCS = ColorSpace.parseToIR(cs[1], xref, res);
var hiVal = cs[2] + 1;
var lookup = xref.fetchIfRef(cs[3]);