📄 photoimage.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Sat May 03 22:10:31 PDT 2003 --><TITLE>Uses of Class net.spy.photo.PhotoImage (PhotoServlet API Documentation - build 120 from 2003/05/03 22:10)</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"></HEAD><SCRIPT>function asd(){parent.document.title="Uses of Class net.spy.photo.PhotoImage (PhotoServlet API Documentation - build 120 from 2003/05/03 22:10)";}</SCRIPT><BODY BGCOLOR="white" onload="asd();"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../net/spy/photo/PhotoImage.html"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV NEXT</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="PhotoImage.html" TARGET="_top"><B>NO FRAMES</B></A> <SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT><A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><CENTER><H2><B>Uses of Class<br>net.spy.photo.PhotoImage</B></H2></CENTER><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Packages that use <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="#net.spy.photo"><B>net.spy.photo</B></A></TD><TD>Base PhotoServlet classes. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="#net.spy.photo.rmi"><B>net.spy.photo.rmi</B></A></TD><TD>RMI classes. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><A HREF="#net.spy.photo.struts"><B>net.spy.photo.struts</B></A></TD><TD>Struts Forms and Actions. </TD></TR></TABLE> <P><A NAME="net.spy.photo"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A> in <A HREF="../../../../net/spy/photo/package-summary.html">net.spy.photo</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../net/spy/photo/package-summary.html">net.spy.photo</A> that return <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>RemoteImageCacheImpl.</B><B><A HREF="../../../../net/spy/photo/RemoteImageCacheImpl.html#getImage(java.lang.String)">getImage</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> key)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>PhotoSaver.</B><B><A HREF="../../../../net/spy/photo/PhotoSaver.html#getPhotoImage()">getPhotoImage</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>PhotoImageScaler.</B><B><A HREF="../../../../net/spy/photo/PhotoImageScaler.html#getScaledImage(net.spy.photo.PhotoDimensions, int)">getScaledImage</A></B>(<A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A> dim, int quality)</CODE><BR> Get a scaled jpeg as a byte array input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>PhotoImageHelper.</B><B><A HREF="../../../../net/spy/photo/PhotoImageHelper.html#getImage(net.spy.photo.PhotoUser, net.spy.photo.PhotoDimensions)">getImage</A></B>(<A HREF="../../../../net/spy/photo/PhotoUser.html">PhotoUser</A> user, <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A> dim)</CODE><BR> Get the full image on behalf of a user.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>PhotoImageHelper.</B><B><A HREF="../../../../net/spy/photo/PhotoImageHelper.html#getImage()">getImage</A></B>()</CODE><BR> Get a full-size image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>PhotoImageHelper.</B><B><A HREF="../../../../net/spy/photo/PhotoImageHelper.html#getImage(net.spy.photo.PhotoDimensions)">getImage</A></B>(<A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A> dim)</CODE><BR> Get the full image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>PhotoImageHelper.</B><B><A HREF="../../../../net/spy/photo/PhotoImageHelper.html#getThumbnail(int)">getThumbnail</A></B>(int uid)</CODE><BR> Get the thumbnail for an image on behalf of a user.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>PhotoImageHelper.</B><B><A HREF="../../../../net/spy/photo/PhotoImageHelper.html#getThumbnail()">getThumbnail</A></B>()</CODE><BR> Get the thumbnail for an image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>LocalImageCacheImpl.</B><B><A HREF="../../../../net/spy/photo/LocalImageCacheImpl.html#getImage(java.lang.String)">getImage</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> key)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>JavaImageServerScaler.</B><B><A HREF="../../../../net/spy/photo/JavaImageServerScaler.html#scaleImage(net.spy.photo.PhotoImage, net.spy.photo.PhotoDimensions)">scaleImage</A></B>(<A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A> in, <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A> dim)</CODE><BR> Scale it in 100% Java.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>ImageServerScaler.</B><B><A HREF="../../../../net/spy/photo/ImageServerScaler.html#scaleImage(net.spy.photo.PhotoImage, net.spy.photo.PhotoDimensions)">scaleImage</A></B>(<A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A> in, <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A> dim)</CODE><BR> Scale the image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>ImageServerImpl.</B><B><A HREF="../../../../net/spy/photo/ImageServerImpl.html#getImage(int, net.spy.photo.PhotoDimensions)">getImage</A></B>(int imageId, <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A> dim)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>ImageServerImpl.</B><B><A HREF="../../../../net/spy/photo/ImageServerImpl.html#getThumbnail(int)">getThumbnail</A></B>(int imageId)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>ImageServer.</B><B><A HREF="../../../../net/spy/photo/ImageServer.html#getImage(int, net.spy.photo.PhotoDimensions)">getImage</A></B>(int imageId, <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A> dim)</CODE><BR> Get an image that will fit inside the given dimensions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>ImageServer.</B><B><A HREF="../../../../net/spy/photo/ImageServer.html#getThumbnail(int)">getThumbnail</A></B>(int imageId)</CODE><BR> Get a thumbnail at the default thumbnail size for the given image ID.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>ImageCache.</B><B><A HREF="../../../../net/spy/photo/ImageCache.html#getImage(java.lang.String)">getImage</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> key)</CODE><BR> Get an image by key.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></CODE></FONT></TD><TD><CODE><B>ExternalImageServerScaler.</B><B><A HREF="../../../../net/spy/photo/ExternalImageServerScaler.html#scaleImage(net.spy.photo.PhotoImage, net.spy.photo.PhotoDimensions)">scaleImage</A></B>(<A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A> in, <A HREF="../../../../net/spy/photo/PhotoDimensions.html">PhotoDimensions</A> dim)</CODE><BR> Scale an image with an external command.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../net/spy/photo/package-summary.html">net.spy.photo</A> with parameters of type <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>RemoteImageCacheImpl.</B><B><A HREF="../../../../net/spy/photo/RemoteImageCacheImpl.html#putImage(java.lang.String, net.spy.photo.PhotoImage)">putImage</A></B>(<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html">String</A> key, <A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A> image)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>PhotoSaver.</B><B><A HREF="../../../../net/spy/photo/PhotoSaver.html#setPhotoImage(net.spy.photo.PhotoImage)">setPhotoImage</A></B>(<A HREF="../../../../net/spy/photo/PhotoImage.html">PhotoImage</A> photoImage)</CODE><BR> </TD></TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -