📄 imagedescription.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:50:53 PDT 2002 --><TITLE>: Class ImageDescription</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/ImageDescription.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/std/image/ICMPixelFormatInfo.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/std/image/ImageSequenceDataSource.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="ImageDescription.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> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">quicktime.std.image</FONT><BR>Class ImageDescription</H2><PRE>java.lang.Object | +--<A HREF="../../../quicktime/QTObject.html">quicktime.QTObject</A> | +--<A HREF="../../../quicktime/util/QTHandleRef.html">quicktime.util.QTHandleRef</A> | +--<A HREF="../../../quicktime/std/movies/media/SampleDescription.html">quicktime.std.movies.media.SampleDescription</A> | +--<B>quicktime.std.image.ImageDescription</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD>java.lang.Cloneable, <A HREF="../../../quicktime/jdirect/InterfaceLib.html">InterfaceLib</A>, <A HREF="../../../quicktime/jdirect/PrimitivesLib.html">PrimitivesLib</A>, <A HREF="../../../quicktime/jdirect/QuickTimeLib.html">QuickTimeLib</A>, <A HREF="../../../quicktime/jdirect/SharedLibrary.html">SharedLibrary</A>, com.apple.jdirect.SharedLibrary</DD></DL><HR><DL><DT>public class <B>ImageDescription</B><DT>extends <A HREF="../../../quicktime/std/movies/media/SampleDescription.html">SampleDescription</A><DT>implements <A HREF="../../../quicktime/jdirect/QuickTimeLib.html">QuickTimeLib</A></DL><P>This class corresponds to the image description handle. refer to ImageDescription in QuickTime<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/std/image/ImageDescription.html#kNativeSize">kNativeSize</A></B></CODE><BR> This is the size (the number of bytes) that are required for this class</TD></TR></TABLE> <A NAME="fields_inherited_from_class_quicktime.jdirect.QuickTimeLib"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from interface quicktime.jdirect.<A HREF="../../../quicktime/jdirect/QuickTimeLib.html">QuickTimeLib</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/jdirect/QuickTimeLib.html#JDirect_MacOSX">JDirect_MacOSX</A>, <A HREF="../../../quicktime/jdirect/QuickTimeLib.html#libraryInstance">libraryInstance</A>, <A HREF="../../../quicktime/jdirect/QuickTimeLib.html#name">name</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#ImageDescription(int)">ImageDescription</A></B>(int format)</CODE><BR> Create an ImageDescription structure</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#ImageDescription(quicktime.qd.PixMap)">ImageDescription</A></B>(<A HREF="../../../quicktime/qd/PixMap.html">PixMap</A> pixmap)</CODE><BR> Create an ImageDescription from a PixMap.</TD></TR></TABLE> <!-- ========== 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> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#addExtension(int, quicktime.util.QTHandle)">addExtension</A></B>(int idType, <A HREF="../../../quicktime/util/QTHandle.html">QTHandle</A> extension)</CODE><BR> Add the extended data of the image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#clone()">clone</A></B>()</CODE><BR> Implementation of Cloneable Interface.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#countExtensionType(int)">countExtensionType</A></B>(int idType)</CODE><BR> Counts the number of extensions of a given type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#forEffect(int)">forEffect</A></B>(int effectType)</CODE><BR> Create an ImageDescription for an Effect Type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#fromGraphicsExporter(quicktime.std.image.GraphicsExporter)">fromGraphicsExporter</A></B>(<A HREF="../../../quicktime/std/image/GraphicsExporter.html">GraphicsExporter</A> ge)</CODE><BR> Determines the image description information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#fromGraphicsExporterCompressor(quicktime.std.image.GraphicsExporter, quicktime.std.movies.AtomContainer)">fromGraphicsExporterCompressor</A></B>(<A HREF="../../../quicktime/std/image/GraphicsExporter.html">GraphicsExporter</A> ge, <A HREF="../../../quicktime/std/movies/AtomContainer.html">AtomContainer</A> ac)</CODE><BR> Returns the image description information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#fromGraphicsImporter(quicktime.std.image.GraphicsImporter)">fromGraphicsImporter</A></B>(<A HREF="../../../quicktime/std/image/GraphicsImporter.html">GraphicsImporter</A> gi)</CODE><BR> Determines the image description information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/std/image/QTImage.html">QTImage</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#fromImageCompressionDialog(quicktime.std.qtcomponents.ImageCompressionDialog, quicktime.qd.QDGraphics, quicktime.qd.QDRect)">fromImageCompressionDialog</A></B>(<A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html">ImageCompressionDialog</A> icd, <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect)</CODE><BR> Compresses a frame that is sourced by a PixMap from the supplied QDGraphics, returning the compressed data and an image description.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#fromSprite(quicktime.std.anim.Sprite)">fromSprite</A></B>(<A HREF="../../../quicktime/std/anim/Sprite.html">Sprite</A> s)</CODE><BR> This method gets the image description property of this sprite.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#getBounds()">getBounds</A></B>()</CODE><BR> Return a QDRect that describes the width and height of the Image the description describes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#getClutID()">getClutID</A></B>()</CODE><BR> Return ID number of the color table for image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/ColorTable.html">ColorTable</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#getCTable()">getCTable</A></B>()</CODE><BR> Get the custom color table for an image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#getCType()">getCType</A></B>()</CODE><BR> Return the compressor creator type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#getDataSize()">getDataSize</A></B>()</CODE><BR> Return the size of the compressed image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#getDepth()">getDepth</A></B>()</CODE><BR> Return pixel depth of source image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/util/EndianDescriptor.html">EndianDescriptor</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#getEndianDescriptor()">getEndianDescriptor</A></B>()</CODE><BR> Returns the EndianDescriptor for this class.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/util/QTHandle.html">QTHandle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#getExtension(int, int)">getExtension</A></B>(int idType, int index)</CODE><BR> Obtain the extended data for an image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#getFrameCount()">getFrameCount</A></B>()</CODE><BR> Return number of frames in image data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#getHeight()">getHeight</A></B>()</CODE><BR> Return the height of the source image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#getHRes()">getHRes</A></B>()</CODE><BR> Return the horizontal resolution of the source image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#getIdSize()">getIdSize</A></B>()</CODE><BR> Return the total size of this structure.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#getJavaDefaultPixelDescription(int, int)">getJavaDefaultPixelDescription</A></B>(int width, int height)</CODE><BR> Create an ImageDescription structure that describes the default Java pixel format.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#getName()">getName</A></B>()</CODE><BR> Return name of the compression algorithm.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#getNextExtensionType()">getNextExtensionType</A></B>()</CODE><BR> Returns the next extension type.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/ImageDescription.html#getRevisionLevel()">getRevisionLevel</A></B>()</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -