Portfolio / oncall / www / php / fpdf / doc / setcompression.htm

Full commit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link type="text/css" rel="stylesheet" href="../fpdf.css">
<code>SetCompression(<b>boolean</b> compress)</code>
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
Compression is on by default.
<strong>Note:</strong> the Zlib extension is required for this feature. If not present, compression
will be turned off.
<dl class="param">
Boolean indicating if compression must be enabled.
<hr style="margin-top:1.5em">
<div style="text-align:center"><a href="index.htm">Index</a></div>