How to add watermark Image using MPDF in codeigniter

Questions : How to add watermark Image using MPDF in codeigniter

767

here is the pdf image

I want to add this kind of background programming image to my PDF using MPDF. But also i Learning want to reduce the background image Earhost opacity.

Total Answers 1
26

Answers 1 : of How to add watermark Image using MPDF in codeigniter

Try this-

$mpdf->SetWatermarkImage(
  _OFFSET);  'assets/dist/img/ExampleLogo1.png',
   (-SMALL  0.3,                 // this for _left).offset  transparency
   array(x,y),      // arrowImgView.mas  Alignment
);

Top rated topics

How to debug the call() function in YOLOv3 written using model sub-classing?

Wrap laravel query inside cache::remember

Python -- 3 dices game question by using while loop

Removing repeating values from sql

Airflow push data to x-com just before timeout

My flutter google maps project, after first install I can't see the blue dot of my gps location, but on every other opening of the app it works

Getting TransportException Username "no authorized" with Jgit when pushing to a private repository

Perform different actions in top 3 values in Dictionary?

Can ";" be added after "#define" And whether variables can be used in it

How to assign specific colors to each datagroup in Gremlin?

ANDROID STUDIO - TV APP ( My android TV app only work on Emulator TV)

Why do Tooltips disappear when creating/destroy/creating a graph in Antv/G6

Use AWS Glue script to Ingest data into DB2 from S3 buckets

Django Conditional Login Redirect on userType check

How to download a file from a url that forces download with NodeJS

HuggingFace API and ReactJS For Summary

Project Structure in .NET -- inject various custom services into application

Flutter tabs inside page/view without Scaffold

IMemory : binder=0x7f9247cfe0 transaction failed fd=-2147483647, size=0, err=-2147483646

KivyMD Question Toolbar DIsable Functionality

Appending to JSON file efficiently from loop

ActiveWorkbook.SaveAs not being able to run

Why hibernate doesn't create tables automatically even with hibernate.hbm2ddl.auto" value="create"?

Annotation Processor Not Running

Is it possible to store python object in pyspark dataframe or rdd?

Why is the compiler looking for a copy assignment operator when the move assignment operator is needed?

How to share file record audio to other apps?

Creating a column that based on another column in dataframe in R

How do I update the data in a mysql table called link in the type column for user_id NULL?

Implement muti Y axis on QT chart?

Junit5 test suites with @Suite annotation doesn't execute tests with mvn test command

How to write hover in same class in css file for react js

Nginx proxy_cache do not work for json response

How to get the validTime for spark structured streaming in custom defined Source?

Flask app packaged with PyInstaller with no templates nor static included in EXE

Is there a way I can extract a list from a javascript document?

SQL Server trigger to track annual revenue

Submitting multiple rows in gridview with Checkboxes (C#)

How am I being able to access function stack memory after returning?

Dialogflow ES issue. 9 digit numbers are automatically getting converted to phone numbers

Is it possible to make my ViewZone not blocked by margin

Make button disappear after hitting my route

SQL - convert date from YYYY-MM-DD format to YYYY-MM-DDTHH:MM:SS

Why should EDX be 0 before using the DIV instruction?

Remove onmouseover using JQuery

Jenkins/Kubernetes cannot clone from gitea repository with valid cert

On cell "A1" click then ComboBox11 opens

TypeError: 'NoneType' object is not callable running exe made with pyinstaller

Unable to use virtual environment in Jupyter Notebook

Improving postgres query performance by descreasing the cost of the query

Top