(mPDF ≥ 1.0)
img_dpi – Specify size conversion for images using pixels
voidimg_dpi
Specify how to convert image sizes specified inpx units (pixels). As a print medium, PDF documents do not have anyinherent size for pixels. Width and height values of images set in pixels need to be converted to a real length. Thedots-per-inch (dpi) affects the conversion from pixels for images; other objects using pixels as a length, are set by aseparate variable$dpi
Note: It is recommended that the values for$dpi and$img_dpi are the same.
Note: This variable can be changed as anyconfiguration variable
$img_dpi
Values
Default:96
| Version | Description |
|---|---|
| 1.0 | Variable was added. |