0

Is it possible to do:

$pdf = new FPDI();
$pdf->setSourceFile($pdfpfad);
$pdf->SetTitle(...);
$pdf->SetAuthor(...);
$pdf->SetSubject(...);
$pdf->SetKeywords(...);
$pdf->SetCreator(...);

and save the file without importing the whole PDF? I want to change only the Metadata of existing files.

1 Answers1

0

It is impossible to edit a PDF file with FPDI.

FPDI extracts and imports single pages of existing documents into a structure which can be re-used by FPDF. The resulting PDF created by FPDF/FPDI is a completely new document.[...]

Jan Slabon
  • 4,736
  • 2
  • 14
  • 29