Initial devicen colorspace support.
This commit is contained in:
parent
c15311c8eb
commit
a12419c084
@ -137,8 +137,14 @@ var ColorSpace = (function colorSpaceColorSpace() {
|
|||||||
var alt = ColorSpace.parseToIR(cs[2], xref, res);
|
var alt = ColorSpace.parseToIR(cs[2], xref, res);
|
||||||
var tintFnIR = PDFFunction.getIR(xref, xref.fetchIfRef(cs[3]));
|
var tintFnIR = PDFFunction.getIR(xref, xref.fetchIfRef(cs[3]));
|
||||||
return ['SeparationCS', alt, tintFnIR];
|
return ['SeparationCS', alt, tintFnIR];
|
||||||
case 'Lab':
|
|
||||||
case 'DeviceN':
|
case 'DeviceN':
|
||||||
|
if (cs.length > 4)
|
||||||
|
TODO('devicen color with n channels');
|
||||||
|
debugger;
|
||||||
|
var alt = ColorSpace.parseToIR(cs[2], xref, res);
|
||||||
|
var tintFnIR = PDFFunction.getIR(xref, xref.fetchIfRef(cs[3]));
|
||||||
|
return ['SeparationCS', alt, tintFnIR];
|
||||||
|
case 'Lab':
|
||||||
default:
|
default:
|
||||||
error('unimplemented color space object "' + mode + '"');
|
error('unimplemented color space object "' + mode + '"');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user