Skip to content

Releases

LePdf 0.2.0

Choose a tag to compare

@LeRalf LeRalf released this 09 Nov 12:29

New: use an existing PDF as the base of a document.

  • open($file) takes over all pages of an existing PDF unchanged.
  • stampImage() puts an image on a page, for example a signature from a signature pad (raw data, data URI or file; PNG, JPEG, GIF).
  • stampHtml() puts an HTML box on a page.
  • Header, footer and margins are not added to opened pages. write() and css() throw an exception in this mode.
  • Uses the FPDI importer that is already part of mPDF. PDFs with compressed cross-reference streams cannot be imported and throw an exception.

Internal: path handling of save() moved to a shared helper, behaviour unchanged.

LePdf 0.1.1

Choose a tag to compare

@LeRalf LeRalf released this 07 Nov 00:24
8749217

Fix: QR codes (<barcode type="QR">) now work, because mpdf/qrcode 1.2.2 is bundled in lib/.

If you update from 0.1.0, replace the whole module folder, including lib/.