Home
last modified time | relevance | path

Searched refs:restrictColorSpace (Results 1 – 8 of 8) sorted by relevance

/plugin/dw2pdf/vendor/mpdf/mpdf/src/Writer/
H A DImageWriter.php59 if ($this->mpdf->PDFX || ($this->mpdf->PDFA && $this->mpdf->restrictColorSpace === 3)) {
66 if ($this->mpdf->PDFA && $this->mpdf->restrictColorSpace !== 3) {
72 } elseif (($this->mpdf->PDFX || ($this->mpdf->PDFA && $this->mpdf->restrictColorSpace === 3)) && $info['cs'] === 'DeviceRGB') {
H A DPageWriter.php192 if ($this->mpdf->restrictColorSpace === 3) {
194 } elseif ($this->mpdf->restrictColorSpace === 1) {
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Color/
H A DColorConverter.php199 if ($this->mpdf->PDFA || $this->mpdf->PDFX || $this->mpdf->restrictColorSpace) {
200 $c = $this->restrictColorSpace($c, $color, $PDFAXwarnings);
330 private function restrictColorSpace($c, $color, &$PDFAXwarnings = [])
332 return $this->colorSpaceRestrictor->restrictColorSpace($c, $color, $PDFAXwarnings);
314 private function restrictColorSpace($c, $color, &$PDFAXwarnings = []) global() function in Mpdf\\Color\\ColorConverter
H A DColorSpaceRestrictor.php55 public function restrictColorSpace($c, $color, &$PDFAXwarnings = []) function in Mpdf\\Color\\ColorSpaceRestrictor
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
H A DServiceFactory.php34 $restrictColorSpace,
48 $restrictColorSpace
39 getServices(Mpdf $mpdf, LoggerInterface $logger, $config, $restrictColorSpace, $languageToFont, $scriptToLanguage, $fontDescriptor, $bmp, $directWrite, $wmf) global() argument
H A DMpdf.php65 var $restrictColorSpace;
1060 $this->restrictColorSpace,
74 var $restrictColorSpace; global() variable in Mpdf\\Mpdf
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Image/
H A DImageProcessor.php330 if ($a[2] === 'DeviceCMYK' && ($this->mpdf->restrictColorSpace === 2 || ($this->mpdf->PDFA && $this->mpdf->restrictColorSpace !== 3))) {
369 if ($a[2] === 'DeviceRGB' && ($this->mpdf->PDFX || $this->mpdf->restrictColorSpace === 3)) {
376 } elseif (($a[2] === 'DeviceRGB' || $a[2] === 'DeviceCMYK') && $this->mpdf->restrictColorSpace === 1) {
545 if ($firsttime && ($colspace === 'DeviceRGB' || $colspace === 'Indexed') && ($this->mpdf->PDFX || $this->mpdf->restrictColorSpace === 3)) {
553 } elseif ($firsttime && ($colspace === 'DeviceRGB' || $colspace === 'Indexed') && $this->mpdf->restrictColorSpace === 1) {
563 if ($this->mpdf->restrictColorSpace === 1) { // Grayscale
565 } elseif ($this->mpdf->restrictColorSpace === 3) { // CMYK
H A DBmp.php50 if ($this->mpdf->restrictColorSpace == 1 || $this->mpdf->PDFX || $this->mpdf->restrictColorSpace == 3) {