Movatterモバイル変換


[0]ホーム

URL:


mPDF Manual – mPDF Variables

img_dpi

(mPDF ≥ 1.0)

img_dpi – Specify size conversion for images using pixels

Description

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

Values

$img_dpi

Values

  • INTEGER: set conversion for pixel - dots per inch

Default:96

Changelog

VersionDescription
1.0Variable was added.

See Also

  • dpi - Specify conversion for other values set in pixels

[8]ページ先頭

©2009-2026 Movatter.jp