File: setcompression.htm

package info (click to toggle)
php-fpdf 1.53.dfsg-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 716 kB
  • ctags: 647
  • sloc: php: 2,257; makefile: 9; sh: 4
file content (31 lines) | stat: -rwxr-xr-x 1,003 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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>
<H2>SetCompression</H2>
<TT>SetCompression(<B>boolean</B> compress)</TT>
<H4 CLASS='st'>Version</H4>
1.4
<H4 CLASS='st'>Description</H4>
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>
<B>Note: </B>the Zlib extension is required for this feature. If not present, compression
will be turned off.
<H4 CLASS='st'>Parameters</H4>
<TT><U>compress</U></TT>
<BLOCKQUOTE>
Boolean indicating if compression must be enabled.
</BLOCKQUOTE>
<HR STYLE="margin-top:1.2em">
<DIV ALIGN="CENTER"><A HREF="index.htm">Index</A></DIV>
</BODY>
</HTML>