⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ccittg4encoder.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;byte[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/codec/CCITTG4Encoder.html#close()">close</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closes the encoder and returns the encoded data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;byte[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/codec/CCITTG4Encoder.html#compress(byte[], int, int)">compress</A></B>(byte[]&nbsp;data,         int&nbsp;width,         int&nbsp;height)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Encodes a full image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/codec/CCITTG4Encoder.html#Fax3Encode2DRow()">Fax3Encode2DRow</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/codec/CCITTG4Encoder.html#fax4Encode(byte[], int)">fax4Encode</A></B>(byte[]&nbsp;data,           int&nbsp;height)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Encodes a number of lines.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/codec/CCITTG4Encoder.html#fax4Encode(byte[], int, int)">fax4Encode</A></B>(byte[]&nbsp;data,           int&nbsp;offset,           int&nbsp;size)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Encodes a number of lines.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/codec/CCITTG4Encoder.html#Fax4PostEncode()">Fax4PostEncode</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private static&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/codec/CCITTG4Encoder.html#find0span(byte[], int, int, int)">find0span</A></B>(byte[]&nbsp;bp,          int&nbsp;offset,          int&nbsp;bs,          int&nbsp;be)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private static&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/codec/CCITTG4Encoder.html#find1span(byte[], int, int, int)">find1span</A></B>(byte[]&nbsp;bp,          int&nbsp;offset,          int&nbsp;bs,          int&nbsp;be)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private static&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/codec/CCITTG4Encoder.html#finddiff(byte[], int, int, int, int)">finddiff</A></B>(byte[]&nbsp;bp,         int&nbsp;offset,         int&nbsp;bs,         int&nbsp;be,         int&nbsp;color)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private static&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/codec/CCITTG4Encoder.html#finddiff2(byte[], int, int, int, int)">finddiff2</A></B>(byte[]&nbsp;bp,          int&nbsp;offset,          int&nbsp;bs,          int&nbsp;be,          int&nbsp;color)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private &nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/codec/CCITTG4Encoder.html#pixel(byte[], int, int)">pixel</A></B>(byte[]&nbsp;data,      int&nbsp;offset,      int&nbsp;bit)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/codec/CCITTG4Encoder.html#putBits(int, int)">putBits</A></B>(int&nbsp;bits,        int&nbsp;length)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/codec/CCITTG4Encoder.html#putcode(int[])">putcode</A></B>(int[]&nbsp;table)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/lowagie/text/pdf/codec/CCITTG4Encoder.html#putspan(int, int[][])">putspan</A></B>(int&nbsp;span,        int[][]&nbsp;tab)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Field Detail</B></FONT></TH></TR></TABLE><A NAME="rowbytes"><!-- --></A><H3>rowbytes</H3><PRE>private int <B>rowbytes</B></PRE><DL><DL></DL></DL><HR><A NAME="rowpixels"><!-- --></A><H3>rowpixels</H3><PRE>private int <B>rowpixels</B></PRE><DL><DL></DL></DL><HR><A NAME="bit"><!-- --></A><H3>bit</H3><PRE>private int <B>bit</B></PRE><DL><DL></DL></DL><HR><A NAME="data"><!-- --></A><H3>data</H3><PRE>private int <B>data</B></PRE><DL><DL></DL></DL><HR><A NAME="refline"><!-- --></A><H3>refline</H3><PRE>private byte[] <B>refline</B></PRE><DL><DL></DL></DL><HR><A NAME="outBuf"><!-- --></A><H3>outBuf</H3><PRE>private <A HREF="../../../../../com/lowagie/text/pdf/ByteBuffer.html" title="class in com.lowagie.text.pdf">ByteBuffer</A> <B>outBuf</B></PRE><DL><DL></DL></DL><HR><A NAME="dataBp"><!-- --></A><H3>dataBp</H3><PRE>private byte[] <B>dataBp</B></PRE><DL><DL></DL></DL><HR><A NAME="offsetData"><!-- --></A><H3>offsetData</H3><PRE>private int <B>offsetData</B></PRE><DL><DL></DL></DL><HR><A NAME="sizeData"><!-- --></A><H3>sizeData</H3><PRE>private int <B>sizeData</B></PRE><DL><DL></DL></DL><HR><A NAME="zeroruns"><!-- --></A><H3>zeroruns</H3><PRE>private static byte[] <B>zeroruns</B></PRE><DL><DL></DL></DL><HR><A NAME="oneruns"><!-- --></A><H3>oneruns</H3><PRE>private static byte[] <B>oneruns</B></PRE><DL><DL></DL></DL><HR><A NAME="LENGTH"><!-- --></A><H3>LENGTH</H3><PRE>private static final int <B>LENGTH</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.pdf.codec.CCITTG4Encoder.LENGTH">Constant Field Values</A></DL></DL><HR><A NAME="CODE"><!-- --></A><H3>CODE</H3><PRE>private static final int <B>CODE</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.pdf.codec.CCITTG4Encoder.CODE">Constant Field Values</A></DL></DL><HR><A NAME="RUNLEN"><!-- --></A><H3>RUNLEN</H3><PRE>private static final int <B>RUNLEN</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.pdf.codec.CCITTG4Encoder.RUNLEN">Constant Field Values</A></DL></DL><HR><A NAME="EOL"><!-- --></A><H3>EOL</H3><PRE>private static final int <B>EOL</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.pdf.codec.CCITTG4Encoder.EOL">Constant Field Values</A></DL></DL><HR><A NAME="G3CODE_EOL"><!-- --></A><H3>G3CODE_EOL</H3><PRE>private static final int <B>G3CODE_EOL</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.pdf.codec.CCITTG4Encoder.G3CODE_EOL">Constant Field Values</A></DL></DL><HR><A NAME="G3CODE_INVALID"><!-- --></A><H3>G3CODE_INVALID</H3><PRE>private static final int <B>G3CODE_INVALID</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.pdf.codec.CCITTG4Encoder.G3CODE_INVALID">Constant Field Values</A></DL></DL><HR><A NAME="G3CODE_EOF"><!-- --></A><H3>G3CODE_EOF</H3><PRE>private static final int <B>G3CODE_EOF</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.pdf.codec.CCITTG4Encoder.G3CODE_EOF">Constant Field Values</A></DL></DL><HR><A NAME="G3CODE_INCOMP"><!-- --></A><H3>G3CODE_INCOMP</H3><PRE>private static final int <B>G3CODE_INCOMP</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.lowagie.text.pdf.codec.CCITTG4Encoder.G3CODE_INCOMP">Constant Field Values</A></DL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -