Home
last modified time | relevance | path

Searched refs:dpi (Results 1 – 25 of 85) sorted by relevance

1234

/plugin/combo/ComboStrap/
H A DUnit.php33 $dpi = 72;
35 'in' => $dpi,
39 'pt' => $dpi / 72, # 1/27 of an inch
40 'pc' => $dpi / 6, # 1/6 of an inch
41 'cm' => $dpi / 2.54, # inch to cm
42 'mm' => $dpi / (2.54 * 10), # inch to cm,
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
H A DSizeConverter.php11 private $dpi; variable in Mpdf\\SizeConverter
25 public function __construct($dpi, $defaultFontSize, Mpdf $mpdf, LoggerInterface $logger) argument
27 $this->dpi = $dpi;
107 $size = 1 * (25.4 / $this->dpi);
111 $size = 3 * (25.4 / $this->dpi);
117 $size = 5 * (25.4 / $this->dpi); // 5 pixel width for table borders
146 $size *= (25.4 / $this->dpi);
H A DServiceFactory.php42 $sizeConverter = new SizeConverter($mpdf->dpi, $mpdf->default_font_size, $mpdf, $logger);
/plugin/svgpureinsert/
H A Dhelper.php78 $dpi = 72;
80 'in' => $dpi,
84 'pt' => $dpi / 72, # 1/27 of an inch
85 'pc' => $dpi / 6, # 1/6 of an inch
86 'cm' => $dpi / 2.54, # inch to cm
87 'mm' => $dpi / (2.54 * 10), # inch to cm,
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Tag/
H A DInput.php249 //Put image at default image dpi
255 if (preg_match('/from-image/i', $properties['IMAGE-RESOLUTION']) && isset($info['set-dpi']) && $info['set-dpi'] > 0) {
256 $w *= $this->mpdf->img_dpi / $info['set-dpi'];
257 $h *= $this->mpdf->img_dpi / $info['set-dpi'];
258 } elseif (preg_match('/(\d+)dpi/i', $properties['IMAGE-RESOLUTION'], $m)) {
259 $dpi = $m[1];
260 if ($dpi > 0) {
261 $w *= $this->mpdf->img_dpi / $dpi;
262 $h *= $this->mpdf->img_dpi / $dpi;
[all...]
H A DImg.php321 //Put image at default image dpi
327 if (preg_match('/from-image/i', $properties['IMAGE-RESOLUTION']) && isset($info['set-dpi']) && $info['set-dpi'] > 0) {
328 $w *= $this->mpdf->img_dpi / $info['set-dpi'];
329 $h *= $this->mpdf->img_dpi / $info['set-dpi'];
330 } elseif (preg_match('/(\d+)dpi/i', $properties['IMAGE-RESOLUTION'], $m)) {
331 $dpi = $m[1];
332 if ($dpi > 0) {
333 $w *= $this->mpdf->img_dpi / $dpi;
334 $h *= $this->mpdf->img_dpi / $dpi;
[all...]
/plugin/farmer/
H A Dall.less11 @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) {
/plugin/siteexport/inc/
H A Dpdfgenerator.php53 $mpdf->dpi = $INPUT->int('dpi', 96, true);
/plugin/dpicorrect/
H A Daction.php44 …ly care about JPG and PNG, because GIF images are an on-screen format, and inherit the screen's dpi
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Image/
H A DImageProcessor.php324 if ($unitSp === 2) { // = dots per cm (if == 1 set as dpi)
416 $info['set-dpi'] = $ppUx;
722 $info['set-dpi'] = $ppUx;
785 $info['set-dpi'] = $ppUx;
883 $info['set-dpi'] = $ppUx;
1100 private function convertImage(&$data, $colspace, $targetcs, $w, $h, $dpi, $mask, $gamma_correction = false, $pngcolortype = false)
1310 if ($dpi) {
1311 $info['set-dpi'] = $dpi;
1317 if ($dpi) {
1083 convertImage(& $data, $colspace, $targetcs, $w, $h, $dpi, $mask, $gamma_correction = false, $pngcolortype = false) global() argument
[all...]
H A DSvg.php268 $w = $this->sizeConverter->convert($wset, $this->svg_info['w'] * (25.4 / $this->mpdf->dpi), $this->mpdf->FontSize, false);
269 $h = $this->sizeConverter->convert($hset, $this->svg_info['h'] * (25.4 / $this->mpdf->dpi), $this->mpdf->FontSize, false);
274 $w *= 1 / (25.4 / $this->mpdf->dpi);
275 $h *= 1 / (25.4 / $this->mpdf->dpi);
2193 // e.g. $w = $this->ConvertSVGSizePixels($arguments['w'],$this->svg_info['w']*(25.4/$this->mpdf->dpi));
2205 $maxsize *= (25.4 / $this->mpdf->dpi); // convert pixels to mm
2209 $size = $this->sizeConverter->convert($size, $maxsize, $fontsize, false) * 1 / (25.4 / $this->mpdf->dpi);
2396 $fontsize = $current_style['font-size'] * $this->mpdf->dpi / 72;
2719 $this->textlength = $sw * 1 / (25.4 / $this->mpdf->dpi);
/plugin/diagramsnet/lib/js/grapheditor/
H A DDialogs.js958 var dpi = parseInt(customDpi.value);
960 if (isNaN(dpi) || dpi <= 0)
970 zoomInput.value = dpi;
1203 var dpi = Math.max(1, parseInt(customDpi.value));
1215 ExportDialog.exportFile(editorUi, name, format, bg, s, b, dpi, gridCheckbox.checked);
1264 ExportDialog.exportFile = function(editorUi, name, format, bg, s, b, dpi, grid) argument
1307 '&dpi=' + dpi);
/plugin/diagramsnet/lib/js/diagramly/
H A DElectronApp.js1997 ExportDialog.exportFile = function(editorUi, name, format, bg, s, b, dpi) argument
2019 false, false, b, true, false, null, null, dpi);
2044 dpi: dpi > 0? dpi : null
H A DEditorUi.js4327 EditorUi.prototype.createImageDataUri = function(canvas, xml, format, dpi) argument
4339 if (dpi > 0)
4341 data = Editor.writeGraphModelToPng(data, 'pHYs', 'dpi', dpi);
4355 EditorUi.prototype.saveCanvas = function(canvas, xml, format, ignorePageName, dpi) argument
4360 var data = this.createImageDataUri(canvas, xml, format, dpi);
6891 editable, border, noCrop, currentPage, format, grid, dpi, keepTheme, exportType) argument
6916 format, (this.pages == null || this.pages.length == 0), dpi);
13891 ExportDialog.exportFile = function(editorUi, name, format, bg, s, b, dpi, grid) argument
13921 false, false, b, true, false, null, grid, dpi);
13948 (dpi > 0? '&dpi=' + dpi : '') +
/plugin/diagramsnet/lib/
H A Delectron.js1326 if (args.dpi != null && args.format == 'png')
1328 data = writePngWithText(data, 'dpi', args.dpi);
/plugin/diagramsnet/lib/resources/
H A Ddia_i18n.txt205 dpi=dpi
H A Ddia_ru.txt205 dpi=DPI
H A Ddia_bg.txt205 dpi=DPI
H A Ddia_el.txt205 dpi=DPI
H A Ddia_zh.txt205 dpi=DPI
H A Ddia_uk.txt205 dpi=DPI
H A Ddia_fa.txt205 dpi=DPI
H A Ddia_ja.txt205 dpi=DPI
/plugin/farmer/css/
H A Dchosen.less437 @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) {
/plugin/photogallery/phpThumb/
H A Dphpthumb.class.php106 public $dpi = 150; // Dots Per Inch for vector source formats variable in phpthumb
1822 if (null !== $this->dpi && $this->ImageMagickSwitchAvailable('density')) {
1829 $commandline .= ' -density '.phpthumb_functions::escapeshellarg_replacement($this->dpi);

1234