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