summaryrefslogtreecommitdiff
path: root/pdf/fpdf/doc/setcompression.htm
diff options
context:
space:
mode:
authorSashi202021-03-15 15:55:05 +0530
committerGitHub2021-03-15 15:55:05 +0530
commit44f5bb01da3bcd87c6fe94b8ee29012338087ccf (patch)
tree19fd982b557648aa999df551e8eaf354cc7aa3c3 /pdf/fpdf/doc/setcompression.htm
parente92f4e6edab823292a923c39bb4cce2e46488e6b (diff)
parentdc64743422ea56fc0614940cb17219549999eb0a (diff)
downloaddwsim_custom_model-44f5bb01da3bcd87c6fe94b8ee29012338087ccf.tar.gz
dwsim_custom_model-44f5bb01da3bcd87c6fe94b8ee29012338087ccf.tar.bz2
dwsim_custom_model-44f5bb01da3bcd87c6fe94b8ee29012338087ccf.zip
Merge pull request #8 from Saketh1499/development
Generating certificates for completed projects
Diffstat (limited to 'pdf/fpdf/doc/setcompression.htm')
-rwxr-xr-xpdf/fpdf/doc/setcompression.htm31
1 files changed, 31 insertions, 0 deletions
diff --git a/pdf/fpdf/doc/setcompression.htm b/pdf/fpdf/doc/setcompression.htm
new file mode 100755
index 0000000..3f81ab0
--- /dev/null
+++ b/pdf/fpdf/doc/setcompression.htm
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>SetCompression</title>
+<link type="text/css" rel="stylesheet" href="../fpdf.css">
+</head>
+<body>
+<h1>SetCompression</h1>
+<code>SetCompression(<b>boolean</b> compress)</code>
+<h2>Description</h2>
+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.
+<br>
+Compression is on by default.
+<br>
+<br>
+<strong>Note:</strong> the Zlib extension is required for this feature. If not present, compression
+will be turned off.
+<h2>Parameters</h2>
+<dl class="param">
+<dt><code>compress</code></dt>
+<dd>
+Boolean indicating if compression must be enabled.
+</dd>
+</dl>
+<hr style="margin-top:1.5em">
+<div style="text-align:center"><a href="index.htm">Index</a></div>
+</body>
+</html>