Closed APTEMOH closed 1 year ago
Please define "Why don't work?"
Please define "Why don't work?"
On output.pdf - one watermark text
I want ten or 3 on my code example.
Pls help!
You have to use temporary files if you want to watermark a file multiple times.
Copy the source into a temporary file. Use it as bot input and output in the loop and then copy it in the final destination.
Hi!
Please help!
`use FilippoToso\PdfWatermarker\Support\Pdf; use FilippoToso\PdfWatermarker\Watermarks\ImageWatermark; use FilippoToso\PdfWatermarker\Watermarks\TextWatermark; use FilippoToso\PdfWatermarker\PdfWatermarker; use FilippoToso\PdfWatermarker\Support\Position;
// Specify path to the existing pdf $pdf = new Pdf('cashback.pdf');
for ($i=1; $i <= 3; $i++) {
}`
Why don't work?
Thanks!