<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</A>
<IMGSRC="../../../../resources/inherit.gif"ALT="extended by "><B>com.mxgraph.util.png.mxPngImageEncoder</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>mxPngImageEncoder</B><DT>extends <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></DL>
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true"title="class or interface in java.io">OutputStream</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/util/png/mxPngImageEncoder.html#mxPngImageEncoder(java.io.OutputStream, com.mxgraph.util.png.mxPngEncodeParam)">mxPngImageEncoder</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true"title="class or interface in java.io">OutputStream</A> output,
<AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.html"title="class in com.mxgraph.util.png">mxPngEncodeParam</A> param)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/util/png/mxPngImageEncoder.html#encode(java.awt.image.RenderedImage)">encode</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/RenderedImage.html?is-external=true"title="class or interface in java.awt.image">RenderedImage</A> im)</CODE>
<BR>
This method encodes a <code>RenderedImage</code> into PNG.</TD>
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true"title="class or interface in java.io">OutputStream</A></CODE></FONT></TD>
<CODE> <AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.html"title="class in com.mxgraph.util.png">mxPngEncodeParam</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/util/png/mxPngImageEncoder.html#setParam(com.mxgraph.util.png.mxPngEncodeParam)">setParam</A></B>(<AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.html"title="class in com.mxgraph.util.png">mxPngEncodeParam</A> param)</CODE>
<THALIGN="left"><B>Methods inherited from class java.lang.<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</A></CODE></TD>
protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true"title="class or interface in java.io">OutputStream</A><B>output</B></PRE>
<DL>
<DD>The OutputStream associcted with this ImageEncoder.
public <B>mxPngImageEncoder</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true"title="class or interface in java.io">OutputStream</A> output,
<AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.html"title="class in com.mxgraph.util.png">mxPngEncodeParam</A> param)</PRE>
public <AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.html"title="class in com.mxgraph.util.png">mxPngEncodeParam</A><B>getParam</B>()</PRE>
public void <B>setParam</B>(<AHREF="../../../../com/mxgraph/util/png/mxPngEncodeParam.html"title="class in com.mxgraph.util.png">mxPngEncodeParam</A> param)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getOutputStream()"><!----></A><H3>
getOutputStream</H3>
<PRE>
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true"title="class or interface in java.io">OutputStream</A><B>getOutputStream</B>()</PRE>
<DL>
<DD>Returns the OutputStream associated with this ImageEncoder.
public void <B>encode</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/RenderedImage.html?is-external=true"title="class or interface in java.awt.image">RenderedImage</A> im)
throws <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true"title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD>This method encodes a <code>RenderedImage</code> into PNG.
The stream into which the PNG is dumped is not closed at
the end of the operation, this should be done if needed
by the caller of this method.
<P>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/IOException.html?is-external=true"title="class or interface in java.io">IOException</A></CODE></DL>