mPDF Manual – mPDF functions

Image()

See Images.

Image($filename, $x, $y, $width, $height, $ext, $href_link, $paint=true, $constrain=true, $is_watermark=false)

<?php

$mpdf->Image('files/images/frontcover.jpg',0,0,210,297,'jpg','',true, false);

// the last "false" allows a full page picture

See Also

  • SetAlpha() - Set the opacity and blend mode for Images