📄 imageutil.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Mon Jul 15 11:49:49 PDT 2002 --><TITLE>: Class ImageUtil</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ImageUtil.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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"> <A HREF="../../../quicktime/app/image/ImageSequencer.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/app/image/ImageViewer.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="ImageUtil.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">quicktime.app.image</FONT><BR>Class ImageUtil</H2><PRE>java.lang.Object | +--<B>quicktime.app.image.ImageUtil</B></PRE><HR><DL><DT>public final class <B>ImageUtil</B><DT>extends java.lang.Object</DL><P>Some utility routines for dealing with images<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/image/ImageUtil.html#kHitTestRgnSrc">kHitTestRgnSrc</A></B></CODE><BR> This is the OSType that is used to create hit test data for kAnimationCodec compressed images</TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/app/image/ImageDataSequence.html">ImageDataSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/image/ImageUtil.html#createSequence(java.io.File)">createSequence</A></B>(java.io.File matchFile)</CODE><BR> This routine will create an ImageDataSeqeuence object from the collection of files that are found in the specified directory that begin with the specified fileName.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/app/image/ImageDataSequence.html">ImageDataSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/image/ImageUtil.html#createSequence(java.io.File, quicktime.app.image.FileFilter)">createSequence</A></B>(java.io.File matchFile, <A HREF="../../../quicktime/app/image/FileFilter.html">FileFilter</A> ff)</CODE><BR> This routine will create an ImageDataSeqeuence object from the collection of files that are found in the specified directory that begin with the specified fileName.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/app/image/ImageDataSequence.html">ImageDataSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/image/ImageUtil.html#createSequence(quicktime.std.movies.Track)">createSequence</A></B>(<A HREF="../../../quicktime/std/movies/Track.html">Track</A> imageTrack)</CODE><BR> This routine will create an ImageDataSeqeuence object from specified Track of a Movie.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/app/image/ImageDataSequence.html">ImageDataSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/image/ImageUtil.html#makeTransparent(quicktime.app.image.ImageDataSequence, quicktime.qd.QDColor, quicktime.qd.QDGraphics, quicktime.qd.Region[])">makeTransparent</A></B>(<A HREF="../../../quicktime/app/image/ImageDataSequence.html">ImageDataSequence</A> image, <A HREF="../../../quicktime/qd/QDColor.html">QDColor</A> keyColor, <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> gw, <A HREF="../../../quicktime/qd/Region.html">Region</A>[] r)</CODE><BR> Takes an ImageSpec object and recompresses the images so that the images have the keyColor set as a transparent colour that will not draw.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/app/image/ImageDataSequence.html">ImageDataSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/image/ImageUtil.html#makeTransparent(quicktime.app.image.ImageSpec, quicktime.qd.QDColor)">makeTransparent</A></B>(<A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A> image, <A HREF="../../../quicktime/qd/QDColor.html">QDColor</A> keyColor)</CODE><BR> Takes an ImageSpec object and recompresses the images so that the images have the keyColor set as a transparent colour that will not draw.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/app/image/ImageDataSequence.html">ImageDataSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/image/ImageUtil.html#makeTransparent(quicktime.app.image.ImageSpec, quicktime.qd.QDColor, quicktime.qd.QDGraphics)">makeTransparent</A></B>(<A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A> image, <A HREF="../../../quicktime/qd/QDColor.html">QDColor</A> keyColor, <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> gw)</CODE><BR> Takes an ImageSpec object and recompresses the images so that the images have the keyColor set as a transparent colour that will not draw.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/app/image/ImageDataSequence.html">ImageDataSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/app/image/ImageUtil.html#makeTransparent(quicktime.app.image.ImageSpec, quicktime.qd.QDColor, quicktime.qd.QDGraphics, quicktime.qd.Region)">makeTransparent</A></B>(<A HREF="../../../quicktime/app/image/ImageSpec.html">ImageSpec</A> image, <A HREF="../../../quicktime/qd/QDColor.html">QDColor</A> keyColor, <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> gw, <A HREF="../../../quicktime/qd/Region.html">Region</A> r)</CODE><BR> Takes an ImageSpec object and recompresses the images so that the images have the keyColor set as a transparent colour that will not draw.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="kHitTestRgnSrc"><!-- --></A><H3>kHitTestRgnSrc</H3><PRE>public static final int <B>kHitTestRgnSrc</B></PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -