TCPDF::SetCompression( $compress = true )

Activates or deactivates page compression. When activated, the internal representation of each page is compressed, which leads to a compression ratio of about 2 for the resulting document. Compression is on by default.


Description Description

Note: the Zlib extension is required for this feature. If not present, compression will be turned off.


Parameters Parameters

$compress

(Optional) (boolean) Boolean indicating if compression must be enabled.

Default value: true


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.4 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.