Lines Matching refs:info

267 			$info = $svg->ImageSVG($data);
272 if (!$info) {
275 $info['type'] = 'svg';
276 $info['i'] = count($this->mpdf->formobjects) + 1;
277 $this->mpdf->formobjects[$file] = $info;
279 return $info;
350 $info = $this->getImage($tempfile, false);
351 if (!$info) {
356 $info['type'] = 'jpg';
358 $info['i'] = count($this->mpdf->images) + 1;
359 $info['interpolation'] = $interpolation; // mPDF 6
360 $this->mpdf->images[$file] = $info;
362 return $info;
371 $info = $this->convertImage($data, $a[2], 'DeviceCMYK', $a[0], $a[1], $ppUx, false);
378 $info = $this->convertImage($data, $a[2], 'DeviceGray', $a[0], $a[1], $ppUx, false);
414 $info = ['w' => $a[0], 'h' => $a[1], 'cs' => $a[2], 'bpc' => $a[3], 'f' => 'DCTDecode', 'data' => $data, 'type' => 'jpg', 'ch' => $channels, 'icc' => $icc];
416 $info['set-dpi'] = $ppUx;
420 if (!$info) {
425 $info['i'] = count($this->mpdf->images) + 1;
426 $info['interpolation'] = $interpolation; // mPDF 6
427 $this->mpdf->images[$file] = $info;
430 return $info;
548 $info = $this->convertImage($data, $colspace, 'DeviceCMYK', $w, $h, $ppUx, $pngalpha, $gamma, $ct); // mPDF 5.7.2 Gamma correction
558 $info = $this->convertImage($data, $colspace, 'DeviceGray', $w, $h, $ppUx, $pngalpha, $gamma, $ct); // mPDF 5.7.2 Gamma correction
564 $info = $this->convertImage($data, $colspace, 'DeviceGray', $w, $h, $ppUx, $pngalpha, $gamma, $ct); // mPDF 5.7.2 Gamma correction
566 $info = $this->convertImage($data, $colspace, 'DeviceCMYK', $w, $h, $ppUx, $pngalpha, $gamma, $ct); // mPDF 5.7.2 Gamma correction
568 $info = $this->convertImage($data, $colspace, 'DeviceRGB', $w, $h, $ppUx, $pngalpha, $gamma, $ct); // mPDF 5.7.2 Gamma correction
605 // Read transparency info
713 $info = $this->getImage($tempfile, false);
716 if (!$info) {
720 $info['masked'] = $imgmask;
722 $info['set-dpi'] = $ppUx;
724 $info['type'] = 'png';
726 $info['i'] = count($this->mpdf->images) + 1;
727 $info['interpolation'] = $interpolation; // mPDF 6
728 $this->mpdf->images[$file] = $info;
731 return $info;
778 $info = $this->getImage($tempfile, false);
780 if (!$info) {
785 $info['set-dpi'] = $ppUx;
787 $info['type'] = 'png';
789 $info['i'] = count($this->mpdf->images) + 1;
790 $info['interpolation'] = $interpolation; // mPDF 6
792 $info['ch'] = $channels;
793 $info['icc'] = $icc;
795 $this->mpdf->images[$file] = $info;
798 return $info;
821 //Read transparency info
880 $info = ['w' => $w, 'h' => $h, 'cs' => $colspace, 'bpc' => $bpc, 'f' => 'FlateDecode', 'parms' => $parms, 'pal' => $pal, 'trns' => $trns, 'data' => $pngdata, 'ch' => $channels, 'icc' => $icc];
881 $info['type'] = 'png';
883 $info['set-dpi'] = $ppUx;
887 if (!$info) {
892 $info['i'] = count($this->mpdf->images) + 1;
893 $info['interpolation'] = $interpolation; // mPDF 6
894 $this->mpdf->images[$file] = $info;
897 return $info;
922 $info = $this->getImage($tempimglnk, false);
923 if (!$info) {
932 $info = $this->getImage($tempfile, false);
933 if (!$info) {
939 $info['type'] = 'gif';
941 $info['i'] = count($this->mpdf->images) + 1;
942 $info['interpolation'] = $interpolation; // mPDF 6
943 $this->mpdf->images[$file] = $info;
945 return $info;
996 $info = ['w' => $w, 'h' => $h, 'cs' => $colspace, 'bpc' => 8, 'f' => 'FlateDecode', 'pal' => $pal, 'trns' => $trns, 'data' => $gifdata];
998 $info = ['w' => $w, 'h' => $h, 'cs' => $colspace, 'bpc' => 8, 'pal' => $pal, 'trns' => $trns, 'data' => $gifdata];
1001 $info['type'] = 'gif';
1003 $info['i'] = count($this->mpdf->images) + 1;
1004 $info['interpolation'] = $interpolation; // mPDF 6
1005 $this->mpdf->images[$file] = $info;
1008 return $info;
1016 $info = $this->bmp->_getBMPimage($data, $file);
1017 if (isset($info['error'])) {
1018 return $this->imageError($file, $firsttime, $info['error']);
1022 $info['i'] = count($this->mpdf->images) + 1;
1023 $info['interpolation'] = $interpolation; // mPDF 6
1024 $this->mpdf->images[$file] = $info;
1027 return $info;
1044 $info = ['x' => $wmfres[2][0], 'y' => $wmfres[2][1], 'w' => $wmfres[3][0], 'h' => $wmfres[3][1], 'data' => $wmfres[1]];
1045 $info['i'] = count($this->mpdf->formobjects) + 1;
1046 $info['type'] = 'wmf';
1047 $this->mpdf->formobjects[$file] = $info;
1049 return $info;
1077 $info = $this->getImage($tempfile, false);
1082 if (!$info) {
1086 $info['type'] = 'png';
1088 $info['i'] = count($this->mpdf->images) + 1;
1089 $info['interpolation'] = $interpolation; // mPDF 6
1090 $this->mpdf->images[$file] = $info;
1093 return $info;
1111 $info = [];
1120 // Need to extract alpha channel info before imagegammacorrect (which loses the data)
1124 //Read transparency info
1199 //Read transparency info
1308 $info = ['w' => $w, 'h' => $h, 'cs' => $targetcs, 'bpc' => 8, 'f' => 'FlateDecode', 'data' => $imgdata, 'type' => 'png',
1311 $info['set-dpi'] = $dpi;
1324 $info['masked'] = $imgmask;
1326 $info['trns'] = $trns;
1331 return $info;