I'm trying to change the metadata of a document previously generated with another library (wkhtmltopdf) but when I create a mpdf objet change the data and save with the same name I'm just overwriting the previous pdf file for this empty new one. (with the proper metadata but empty)
$mpdf = new \Mpdf\Mpdf(['tempDir' => '/var/www/storage/temp']);
$mpdf->SetTitle('title');
$mpdf->SetAuthor('email');
$mpdf->SetKeywords('id');
$mpdf->Output('/var/www/storage/app/myfile.pdf');
With mpdf can I open previous document change the metadata and save the same document? (wkhtmltopdf can't handle metadata, just title)