私はFPDI
pdfドキュメントを作成し、テキストを追加し、次のコードでブラウザにダウンロードするために使用しています:
$pdf = new FPDI();
$pdf->AddPage();
$pagecount = $pdf->setSourceFile($filePath);
$tppl = $pdf->importPage(1);
$pdf->useTemplate($tppl, 0, 0, 222.25, 297.18);
$pdf->SetFont('DejaVu','',10);
$pdf->SetXY(106,42);
$pdf->Write(0, date('d'));
$pdf->SetXY(136,42);
$pdf->Write(0, date('m'));
$pdf->Output();
そして、作成したpdfをpng/jpegファイルに変換してユーザーに送信する方法があるかどうか知りたいですか?