pdf - PHP FPDF Document to PNG/JPEG -


I am using FPDI to create a PDF document, add text and browser with it Download code in:

  $ pdf = new FPDI (); $ Pdf- & gt; AddPage (); $ Pagecount = $ pdf- & gt; Setsource file ($ filePath); $ Tppl = $ pdf- & gt; Import page (1); $ Pdf- & gt; UseTemplate ($ tppl, 0, 0, 222.25, 297.18); $ Pdf- & gt; SetFont ('DejaVu', '', 10); $ Pdf- & gt; SetXY (106, 42); $ Pdf- & gt; Write (0, Date ('D')); $ Pdf- & gt; SetXY (136, 42); $ Pdf- & gt; Type (0, Date ('m')); $ Pdf- & gt; Output ();  

And I want to know, is there any way to change PDF that I create in PNG / JPEG file and then send it to user?


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -