Lines Matching refs:dpi
321 //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;