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

📄 pngimage.html

📁 IText PDF开发工具说明文档,使用很方便。
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<PRE><B>PngImage</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;is)</PRE><DL><DD>Creates a new instance of PngImage<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_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>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getImage(java.net.URL)"><!-- --></A><H3>getImage</H3><PRE>public static <A HREF="../../../../../com/lowagie/text/Image.html" title="class in com.lowagie.text">Image</A> <B>getImage</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/net/URL.html?is-external=true" title="class or interface in java.net">URL</A>&nbsp;url)                      throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Reads a PNG from an url.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>url</CODE> - the url<DT><B>Returns:</B><DD>the image<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - on error</DL></DD></DL><HR><A NAME="getImage(java.io.InputStream)"><!-- --></A><H3>getImage</H3><PRE>public static <A HREF="../../../../../com/lowagie/text/Image.html" title="class in com.lowagie.text">Image</A> <B>getImage</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;is)                      throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Reads a PNG from a stream.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>is</CODE> - the stream<DT><B>Returns:</B><DD>the image<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - on error</DL></DD></DL><HR><A NAME="getImage(java.lang.String)"><!-- --></A><H3>getImage</H3><PRE>public static <A HREF="../../../../../com/lowagie/text/Image.html" title="class in com.lowagie.text">Image</A> <B>getImage</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;file)                      throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Reads a PNG from a file.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>file</CODE> - the file<DT><B>Returns:</B><DD>the image<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - on error</DL></DD></DL><HR><A NAME="getImage(byte[])"><!-- --></A><H3>getImage</H3><PRE>public static <A HREF="../../../../../com/lowagie/text/Image.html" title="class in com.lowagie.text">Image</A> <B>getImage</B>(byte[]&nbsp;data)                      throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Reads a PNG from a byte array.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the byte array<DT><B>Returns:</B><DD>the image<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE> - on error</DL></DD></DL><HR><A NAME="checkMarker(java.lang.String)"><!-- --></A><H3>checkMarker</H3><PRE>boolean <B>checkMarker</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;s)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="readPng()"><!-- --></A><H3>readPng</H3><PRE>void <B>readPng</B>()       throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="getColorspace()"><!-- --></A><H3>getColorspace</H3><PRE><A HREF="../../../../../com/lowagie/text/pdf/PdfObject.html" title="class in com.lowagie.text.pdf">PdfObject</A> <B>getColorspace</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getImage()"><!-- --></A><H3>getImage</H3><PRE><A HREF="../../../../../com/lowagie/text/Image.html" title="class in com.lowagie.text">Image</A> <B>getImage</B>()         throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="decodeIdat()"><!-- --></A><H3>decodeIdat</H3><PRE>void <B>decodeIdat</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="decodePass(int, int, int, int, int, int)"><!-- --></A><H3>decodePass</H3><PRE>void <B>decodePass</B>(int&nbsp;xOffset,                int&nbsp;yOffset,                int&nbsp;xStep,                int&nbsp;yStep,                int&nbsp;passWidth,                int&nbsp;passHeight)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="processPixels(byte[], int, int, int, int)"><!-- --></A><H3>processPixels</H3><PRE>void <B>processPixels</B>(byte[]&nbsp;curr,                   int&nbsp;xOffset,                   int&nbsp;step,                   int&nbsp;y,                   int&nbsp;width)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getPixel(byte[], int, int, int, int)"><!-- --></A><H3>getPixel</H3><PRE>static int <B>getPixel</B>(byte[]&nbsp;image,                    int&nbsp;x,                    int&nbsp;y,                    int&nbsp;bitDepth,                    int&nbsp;bytesPerRow)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setPixel(byte[], int[], int, int, int, int, int, int)"><!-- --></A><H3>setPixel</H3><PRE>static void <B>setPixel</B>(byte[]&nbsp;image,                     int[]&nbsp;data,                     int&nbsp;offset,                     int&nbsp;size,                     int&nbsp;x,                     int&nbsp;y,                     int&nbsp;bitDepth,                     int&nbsp;bytesPerRow)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getPixel(byte[])"><!-- --></A><H3>getPixel</H3><PRE>int[] <B>getPixel</B>(byte[]&nbsp;curr)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="decodeSubFilter(byte[], int, int)"><!-- --></A><H3>decodeSubFilter</H3><PRE>private static void <B>decodeSubFilter</B>(byte[]&nbsp;curr,                                    int&nbsp;count,                                    int&nbsp;bpp)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="decodeUpFilter(byte[], byte[], int)"><!-- --></A><H3>decodeUpFilter</H3><PRE>private static void <B>decodeUpFilter</B>(byte[]&nbsp;curr,                                   byte[]&nbsp;prev,                                   int&nbsp;count)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="decodeAverageFilter(byte[], byte[], int, int)"><!-- --></A><H3>decodeAverageFilter</H3><PRE>private static void <B>decodeAverageFilter</B>(byte[]&nbsp;curr,                                        byte[]&nbsp;prev,                                        int&nbsp;count,                                        int&nbsp;bpp)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="paethPredictor(int, int, int)"><!-- --></A><H3>paethPredictor</H3><PRE>private static int <B>paethPredictor</B>(int&nbsp;a,                                  int&nbsp;b,                                  int&nbsp;c)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="decodePaethFilter(byte[], byte[], int, int)"><!-- --></A><H3>decodePaethFilter</H3><PRE>private static void <B>decodePaethFilter</B>(byte[]&nbsp;curr,                                      byte[]&nbsp;prev,                                      int&nbsp;count,                                      int&nbsp;bpp)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getInt(java.io.InputStream)"><!-- --></A><H3>getInt</H3><PRE>public static final int <B>getInt</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;is)                        throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Gets an <CODE>int</CODE> from an <CODE>InputStream</CODE>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>is</CODE> - an <CODE>InputStream</CODE><DT><B>Returns:</B><DD>the value of an <CODE>int</CODE><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="getWord(java.io.InputStream)"><!-- --></A><H3>getWord</H3><PRE>public static final int <B>getWord</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;is)                         throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Gets a <CODE>word</CODE> from an <CODE>InputStream</CODE>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>is</CODE> - an <CODE>InputStream</CODE><DT><B>Returns:</B><DD>the value of an <CODE>int</CODE><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><HR><A NAME="getString(java.io.InputStream)"><!-- --></A><H3>getString</H3><PRE>public static final <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getString</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;is)                              throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE><DL><DD>Gets a <CODE>String</CODE> from an <CODE>InputStream</CODE>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>is</CODE> - an <CODE>InputStream</CODE><DT><B>Returns:</B><DD>the value of an <CODE>int</CODE><DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../..

⌨️ 快捷键说明

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