I want to add this kind of background image to my PDF using MPDF. But also i want to reduce the background image opacity.
CodePudding user response:
Try this-
$mpdf->SetWatermarkImage(
'assets/dist/img/ExampleLogo1.png',
0.3, // this for transparency
array(x,y), // Alignment
);