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

CalRGB: optimize CalRGB calculations

Also fix one silly mistake.
This commit is contained in:
Kalervo Kujala 2014-08-16 11:37:52 +03:00
parent 3ad972ad45
commit 0c5525dc8a
3 changed files with 40 additions and 20 deletions

View file

@ -10,8 +10,8 @@
/Keywords (CalRGB, Color Space, Example, Test PDF) %
/Creator (genpdf.py) %
/Producer (genpdf.py) %
/CreationDate (D:20140814232935+02'00') %
/ModDate (D:20140814232935+02'00') %
/CreationDate (D:20140816112719+02'00') %
/ModDate (D:20140816112719+02'00') %
/Trapped (False) %
%
>> %
@ -5569,7 +5569,7 @@ endobj
47 0 obj %
[ /CalRGB %
<< /WhitePoint [ 1.00000 1.00000 1.00000 ] %
/BlackPoint [ 80.0000 80.0000 80.0000 ] %
/BlackPoint [ 8.00000 8.00000 8.00000 ] %
/Gamma [ 1.00000 1.00000 1.00000 ] %
/Matrix [ 1.00000 0.00000 0.00000 0.00000 1.00000 0.00000 0.00000 0.00000 1.00000 ] %
>> %
@ -6071,7 +6071,7 @@ stream
-400 530 Td %
(WhitePoint [ 1.00000 1.00000 1.00000 ]) Tj %
0 -15 Td %
(BlackPoint [ 80.0000 80.0000 80.0000 ]) Tj %
(BlackPoint [ 8.00000 8.00000 8.00000 ]) Tj %
0 -15 Td %
(Gamma [ 1.00000 1.00000 1.00000 ]) Tj %
0 -15 Td %
@ -6111,7 +6111,7 @@ endobj
51 0 obj %
[ /CalRGB %
<< /WhitePoint [ 1.00000 1.00000 1.00000 ] %
/BlackPoint [ 81.0000 81.0000 81.0000 ] %
/BlackPoint [ 50.0000 50.0000 50.0000 ] %
/Gamma [ 1.00000 1.00000 1.00000 ] %
/Matrix [ 1.00000 0.00000 0.00000 0.00000 1.00000 0.00000 0.00000 0.00000 1.00000 ] %
>> %
@ -6613,7 +6613,7 @@ stream
-400 530 Td %
(WhitePoint [ 1.00000 1.00000 1.00000 ]) Tj %
0 -15 Td %
(BlackPoint [ 81.0000 81.0000 81.0000 ]) Tj %
(BlackPoint [ 50.0000 50.0000 50.0000 ]) Tj %
0 -15 Td %
(Gamma [ 1.00000 1.00000 1.00000 ]) Tj %
0 -15 Td %

View file

@ -1693,7 +1693,7 @@
},
{ "id": "calrgb",
"file": "pdfs/calrgb.pdf",
"md5": "5f3dfda1d3a795cd214a457244130bfa",
"md5": "625068e9a7dd80e4f70b24ce97b3ec5c",
"rounds": 1,
"lastPage": 8,
"type": "eq"