mPDF Manual – mPDF Variables

packTableData

(mPDF >= 4.4)

packTableData – Use binary packing of table data to reduce memory usage

Description

void packTableData

Processing tables uses large amounts of internal memory, as the value are stored in an array. Enabling packTableData causes mPDF to pack the table data into a binary form saving considerable memory. However, the conversion to and from binary data takes a significant amount of time, and can increase processing time.

Values

$packTableDataTRUE FALSE

Values

TRUE : use binary packing of table data

FALSE: does not use binary packing of table data

DEFAULT: FALSE

Changelog

VersionDescription
4.4 Variable was added.

See Also

  • simpleTables - Disables complex table borders etc. to improve performance