Lines Matching refs:colorSpace

30642         var colorSpace = null;
30649colorSpace = _colorspace.ColorSpace.parse(group.get('CS'), this.xref, resources, this.pdfFunctionF…
30654 colorSpace = colorSpace || _colorspace.ColorSpace.singletons.rgb;
30655 smask.backdrop = colorSpace.getRgb(smask.backdrop, 0);
48917 var csNumComps = context.colorSpace.numComps;
49004 return this.context.colorSpace.getRgb(color, 0);
49536 colorSpace: cs,
54714 var colorSpace = dict.get('ColorSpace', 'CS');
54715colorSpace = _colorspace.ColorSpace.parse(colorSpace, this.xref, this.resources, this.pdfFunctionF…
54716 …dler.sendWithPromise('JpegDecode', [image.getIR(this.forceDataSchema), colorSpace.numComps]).then(…
54906 var colorSpace = dict.get('ColorSpace', 'CS');
54908 if (!colorSpace) {
54913 colorSpace = _primitives.Name.get('DeviceGray');
54917 colorSpace = _primitives.Name.get('DeviceRGB');
54921 colorSpace = _primitives.Name.get('DeviceCMYK');
54930 … this.colorSpace = _colorspace.ColorSpace.parse(colorSpace, xref, resources, pdfFunctionFactory);
54931 this.numComps = this.colorSpace.numComps;
54937 …if (this.decode && (this.colorSpace && !this.colorSpace.isDefaultDecode(this.decode, bitsPerCompon…
54942 var isIndexed = this.colorSpace && this.colorSpace.name === 'Indexed';
55254 var matteRgb = this.colorSpace.getRgb(matte, 0);
55296 if (this.colorSpace.name === 'DeviceGray' && bpc === 1) {
55298 } else if (this.colorSpace.name === 'DeviceRGB' && bpc === 8 && !this.needsDecode) {
55329 switch (this.colorSpace.name) {
55364 …this.colorSpace.fillRgb(imgData.data, originalWidth, originalHeight, drawWidth, drawHeight, actual…