Skip to content

PDF Overlay #313

@jayomayan

Description

@jayomayan

Not sure what's wrong with this but i just followed the docs.

$file_name='original.pdf';
$overlay='overlay.pdf';

$pdf = new \mikehaertl\pdftk\Pdf($file_name);
$result = $pdf->stamp($overlay)
    ->saveAs('merge.pdf');

if ($result === false) {
    $error = $pdf->getError();
}

It does not overlay, no output file created.
Any help would be much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions