Add 'Indexed' cs abbreviation

This commit is contained in:
notmasteryet 2012-03-17 17:35:04 -05:00
parent 82868ae52c
commit 1f0af7c476
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]);

View File

@ -20,6 +20,7 @@
!scan-bad.pdf
!freeculture.pdf
!pdfkit_compressed.pdf
!TAMReview.pdf
!issue918.pdf
!issue1249.pdf
!smaskdim.pdf

BIN
test/pdfs/TAMReview.pdf Normal file

Binary file not shown.

View File

@ -472,6 +472,14 @@
"rounds": 1,
"type": "eq"
},
{ "id": "tamreview",
"file": "pdfs/TAMReview.pdf",
"md5": "8039aba56790d3597d2bc8c794a51301",
"rounds": 1,
"pageLimit": 5,
"link": true,
"type": "eq"
},
{ "id": "issue925",
"file": "pdfs/issue925.pdf",
"md5": "f58fe943090aff89dcc8e771bc0db4c2",