mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Implement Decode entry in Indexed images
This commit is contained in:
parent
f26129de26
commit
26121177ab
7 changed files with 37 additions and 14 deletions
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
|
@ -251,6 +251,7 @@
|
|||
!bug878026.pdf
|
||||
!issue1045.pdf
|
||||
!issue5010.pdf
|
||||
!issue10339_reduced.pdf
|
||||
!issue4934.pdf
|
||||
!issue4650.pdf
|
||||
!issue6721_reduced.pdf
|
||||
|
|
BIN
test/pdfs/issue10339_reduced.pdf
Normal file
BIN
test/pdfs/issue10339_reduced.pdf
Normal file
Binary file not shown.
|
@ -2643,6 +2643,12 @@
|
|||
"link": false,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue10339",
|
||||
"file": "pdfs/issue10339_reduced.pdf",
|
||||
"md5": "e34ef74f188080f8194c7d8e8b68c562",
|
||||
"rounds": 1,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue1721",
|
||||
"file": "pdfs/issue1721.pdf",
|
||||
"md5": "b47177f9e5197a76ec498733ecab60e6",
|
||||
|
|
|
@ -496,7 +496,7 @@ describe('colorspace', function () {
|
|||
expect(colorSpace.getRgb([2], 0)).toEqual(
|
||||
new Uint8ClampedArray([255, 109, 70]));
|
||||
expect(colorSpace.isPassthrough(8)).toBeFalsy();
|
||||
expect(colorSpace.isDefaultDecode([0, 1])).toBeTruthy();
|
||||
expect(colorSpace.isDefaultDecode([0, 1], 1)).toBeTruthy();
|
||||
expect(testDest).toEqual(expectedDest);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue