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

📄 encoderutil.html

📁 jfreechart1。0。2的api。
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TABLE><A NAME="EncoderUtil()"><!-- --></A><H3>EncoderUtil</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/encoders/EncoderUtil.html#line.55"><B>EncoderUtil</B></A>()</PRE><DL></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="encode(java.awt.image.BufferedImage, java.lang.String)"><!-- --></A><H3>encode</H3><PRE>public static byte[] <A HREF="../../../../src-html/org/jfree/chart/encoders/EncoderUtil.html#line.66"><B>encode</B></A>(java.awt.image.BufferedImage&nbsp;image,                            java.lang.String&nbsp;format)                     throws java.io.IOException</PRE><DL><DD>Encode the image in a specific format.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>image</CODE> - The image to be encoded.<DD><CODE>format</CODE> - The <A HREF="../../../../org/jfree/chart/encoders/ImageFormat.html" title="interface in org.jfree.chart.encoders"><CODE>ImageFormat</CODE></A> to use.<DT><B>Returns:</B><DD>The byte[] that is the encoded image.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="encode(java.awt.image.BufferedImage, java.lang.String, boolean)"><!-- --></A><H3>encode</H3><PRE>public static byte[] <A HREF="../../../../src-html/org/jfree/chart/encoders/EncoderUtil.html#line.82"><B>encode</B></A>(java.awt.image.BufferedImage&nbsp;image,                            java.lang.String&nbsp;format,                            boolean&nbsp;encodeAlpha)                     throws java.io.IOException</PRE><DL><DD>Encode the image in a specific format.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>image</CODE> - The image to be encoded.<DD><CODE>format</CODE> - The <A HREF="../../../../org/jfree/chart/encoders/ImageFormat.html" title="interface in org.jfree.chart.encoders"><CODE>ImageFormat</CODE></A> to use.<DD><CODE>encodeAlpha</CODE> - Whether to encode alpha transparency (not supported                      by all ImageEncoders).<DT><B>Returns:</B><DD>The byte[] that is the encoded image.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="encode(java.awt.image.BufferedImage, java.lang.String, float)"><!-- --></A><H3>encode</H3><PRE>public static byte[] <A HREF="../../../../src-html/org/jfree/chart/encoders/EncoderUtil.html#line.99"><B>encode</B></A>(java.awt.image.BufferedImage&nbsp;image,                            java.lang.String&nbsp;format,                            float&nbsp;quality)                     throws java.io.IOException</PRE><DL><DD>Encode the image in a specific format.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>image</CODE> - The image to be encoded.<DD><CODE>format</CODE> - The <A HREF="../../../../org/jfree/chart/encoders/ImageFormat.html" title="interface in org.jfree.chart.encoders"><CODE>ImageFormat</CODE></A> to use.<DD><CODE>quality</CODE> - The quality to use for the image encoding (not supported                 by all ImageEncoders).<DT><B>Returns:</B><DD>The byte[] that is the encoded image.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="encode(java.awt.image.BufferedImage, java.lang.String, float, boolean)"><!-- --></A><H3>encode</H3><PRE>public static byte[] <A HREF="../../../../src-html/org/jfree/chart/encoders/EncoderUtil.html#line.118"><B>encode</B></A>(java.awt.image.BufferedImage&nbsp;image,                            java.lang.String&nbsp;format,                            float&nbsp;quality,                            boolean&nbsp;encodeAlpha)                     throws java.io.IOException</PRE><DL><DD>Encode the image in a specific format.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>image</CODE> - The image to be encoded.<DD><CODE>format</CODE> - The <A HREF="../../../../org/jfree/chart/encoders/ImageFormat.html" title="interface in org.jfree.chart.encoders"><CODE>ImageFormat</CODE></A> to use.<DD><CODE>quality</CODE> - The quality to use for the image encoding (not supported                  by all ImageEncoders).<DD><CODE>encodeAlpha</CODE> - Whether to encode alpha transparency (not supported                      by all ImageEncoders).<DT><B>Returns:</B><DD>The byte[] that is the encoded image.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="writeBufferedImage(java.awt.image.BufferedImage, java.lang.String, java.io.OutputStream)"><!-- --></A><H3>writeBufferedImage</H3><PRE>public static void <A HREF="../../../../src-html/org/jfree/chart/encoders/EncoderUtil.html#line.134"><B>writeBufferedImage</B></A>(java.awt.image.BufferedImage&nbsp;image,                                      java.lang.String&nbsp;format,                                      java.io.OutputStream&nbsp;outputStream)                               throws java.io.IOException</PRE><DL><DD>Encode the image in a specific format and write it to an OutputStream.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>image</CODE> - The image to be encoded.<DD><CODE>format</CODE> - The <A HREF="../../../../org/jfree/chart/encoders/ImageFormat.html" title="interface in org.jfree.chart.encoders"><CODE>ImageFormat</CODE></A> to use.<DD><CODE>outputStream</CODE> - The OutputStream to write the encoded image to.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="writeBufferedImage(java.awt.image.BufferedImage, java.lang.String, java.io.OutputStream, float)"><!-- --></A><H3>writeBufferedImage</H3><PRE>public static void <A HREF="../../../../src-html/org/jfree/chart/encoders/EncoderUtil.html#line.150"><B>writeBufferedImage</B></A>(java.awt.image.BufferedImage&nbsp;image,                                      java.lang.String&nbsp;format,                                      java.io.OutputStream&nbsp;outputStream,                                      float&nbsp;quality)                               throws java.io.IOException</PRE><DL><DD>Encode the image in a specific format and write it to an OutputStream.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>image</CODE> - The image to be encoded.<DD><CODE>format</CODE> - The <A HREF="../../../../org/jfree/chart/encoders/ImageFormat.html" title="interface in org.jfree.chart.encoders"><CODE>ImageFormat</CODE></A> to use.<DD><CODE>outputStream</CODE> - The OutputStream to write the encoded image to.<DD><CODE>quality</CODE> - The quality to use for the image encoding (not                  supported by all ImageEncoders).<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="writeBufferedImage(java.awt.image.BufferedImage, java.lang.String, java.io.OutputStream, boolean)"><!-- --></A><H3>writeBufferedImage</H3><PRE>public static void <A HREF="../../../../src-html/org/jfree/chart/encoders/EncoderUtil.html#line.167"><B>writeBufferedImage</B></A>(java.awt.image.BufferedImage&nbsp;image,                                      java.lang.String&nbsp;format,                                      java.io.OutputStream&nbsp;outputStream,                                      boolean&nbsp;encodeAlpha)                               throws java.io.IOException</PRE><DL><DD>Encode the image in a specific format and write it to an OutputStream.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>image</CODE> - The image to be encoded.<DD><CODE>format</CODE> - The <A HREF="../../../../org/jfree/chart/encoders/ImageFormat.html" title="interface in org.jfree.chart.encoders"><CODE>ImageFormat</CODE></A> to use.<DD><CODE>outputStream</CODE> - The OutputStream to write the encoded image to.<DD><CODE>encodeAlpha</CODE> - Whether to encode alpha transparency (not                      supported by all ImageEncoders).<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="writeBufferedImage(java.awt.image.BufferedImage, java.lang.String, java.io.OutputStream, float, boolean)"><!-- --></A><H3>writeBufferedImage</H3><PRE>public static void <A HREF="../../../../src-html/org/jfree/chart/encoders/EncoderUtil.html#line.186"><B>writeBufferedImage</B></A>(java.awt.image.BufferedImage&nbsp;image,                                      java.lang.String&nbsp;format,                                      java.io.OutputStream&nbsp;outputStream,                                      float&nbsp;quality,                                      boolean&nbsp;encodeAlpha)                               throws java.io.IOException</PRE><DL><DD>Encode the image in a specific format and write it to an OutputStream.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>image</CODE> - The image to be encoded.<DD><CODE>format</CODE> - The <A HREF="../../../../org/jfree/chart/encoders/ImageFormat.html" title="interface in org.jfree.chart.encoders"><CODE>ImageFormat</CODE></A> to use.<DD><CODE>outputStream</CODE> - The OutputStream to write the encoded image to.<DD><CODE>quality</CODE> - The quality to use for the image encoding (not                  supported by all ImageEncoders).<DD><CODE>encodeAlpha</CODE> - Whether to encode alpha transparency (not supported                      by all ImageEncoders).<DT><B>Throws:</B><DD><CODE>java.io.IOException</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="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/EncoderUtil.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../../../org/jfree/chart/encoders/ImageEncoder.html" title="interface in org.jfree.chart.encoders"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?org/jfree/chart/encoders/EncoderUtil.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="EncoderUtil.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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