qtimage.html
来自「这个是java的quicktime for java 的详细使用文档」· HTML 代码 · 共 670 行 · 第 1/3 页
HTML
670 行
<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int colorDepth, int cType, <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A> c, int spatialQuality, int temporalQuality)</CODE><BR> Determines the estimated amount of time required to compress a given image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/QTImage.html#getDescription()">getDescription</A></B>()</CODE><BR> Return the description that describes the associated data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/QTImage.html#getImage()">getImage</A></B>()</CODE><BR> Return the image data</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/QTImage.html#getMaxCompressionSize(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, int, int, quicktime.std.image.CodecComponent)">getMaxCompressionSize</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int colorDepth, int quality, int cType, <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A> c)</CODE><BR> Determines the maximum size an image will be after compression.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/QTImage.html#getSimilarity(quicktime.qd.QDGraphics, quicktime.qd.QDRect, quicktime.std.image.ImageDescription, quicktime.util.EncodedImage)">getSimilarity</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> desc, <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> data)</CODE><BR> Compares a compressed image to a picture stored in a pixel map and returns a value indicating the relative similarity of the two images.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/image/QTImage.html#trim(quicktime.std.image.ImageDescription, quicktime.util.EncodedImage, quicktime.util.EncodedImage, quicktime.qd.QDRect)">trim</A></B>(<A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> desc, <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> inData, <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> outData, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> trimRect)</CODE><BR> Ajusts a compressed image to the boundaries defined by a QDRect specified by your application.</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>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="QTImage(quicktime.std.image.ImageDescription, quicktime.util.EncodedImage)"><!-- --></A><H3>QTImage</H3><PRE>public <B>QTImage</B>(<A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> id, <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> im)</PRE><DL><DD>Associate an image description with the image data that is described by the description.<DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - the image description<DD><CODE>im</CODE> - the image data</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getImage()"><!-- --></A><H3>getImage</H3><PRE>public <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> <B>getImage</B>()</PRE><DL><DD>Return the image data<DD><DL></DL></DD></DL><HR><A NAME="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> <B>getDescription</B>()</PRE><DL><DD>Return the description that describes the associated data.<DD><DL></DL></DD></DL><HR><A NAME="compress(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, int, quicktime.util.EncodedImage)"><!-- --></A><H3>compress</H3><PRE>public static final <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> <B>compress</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int quality, int cType, <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> data) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Compresses a single frame image that is currently stored as a pixel map. The size of the compressed image can be obtained from the ImageDescription object which is returned. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.20.htm#iqImag47">QuickTime::CompressImage</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>src</CODE> - the QDGraphics that contains the PixMap for compressing. This may NOT be null.<DD><CODE>srcRect</CODE> - a Rect defining the portion of the image to compress<DD><CODE>quality</CODE> - the desired compressed image quality<DD><CODE>cType</CODE> - a compressor type<DD><CODE>data</CODE> - a encoded image object to receive the compressed image data. It is your program's responsibility to make sure that this object can receive at least as much data as indicated by the getMaxCompressionSize method.<DT><B>Returns:</B><DD>an ImageDescription object. Your application should store this image description with the compressed image data.</DL></DD></DL><HR><A NAME="fCompress(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, int, int, quicktime.std.image.CodecComponent, quicktime.qd.ColorTable, int, quicktime.util.EncodedImage)"><!-- --></A><H3>fCompress</H3><PRE>public static final <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> <B>fCompress</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int colorDepth, int quality, int cType, <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A> c, <A HREF="../../../quicktime/qd/ColorTable.html">ColorTable</A> clut, int flags, <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> data) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Compresses a single frame image that is currently stored as a pixel map. The size of the compressed image can be obtained from the ImageDescription object which is returned. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.20.htm#iqImag51">QuickTime::FCompressImage</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>src</CODE> - a QDGraphics that contains the PixMap for compressing. This may NOT be null.<DD><CODE>srcRect</CODE> - a QDRect defining the portion of the image to compress<DD><CODE>colorDepth</CODE> - the depth at which the image is likely to be viewed<DD><CODE>quality</CODE> - the desired compressed image quality<DD><CODE>cType</CODE> - a compressor type<DD><CODE>c</CODE> - a compressor or codec identifier<DD><CODE>clut</CODE> - a custom color lookup table<DD><CODE>flags</CODE> - flags providing further control information<DD><CODE>data</CODE> - a EncodedImage object to receive the compressed image data. It is your program's responsibility to make sure that this object can receive at least as much data as indicated by the getMaxCompressionSize method.<DT><B>Returns:</B><DD>an ImageDescription object. Your application should store this image description with the compressed image data.</DL></DD></DL><HR><A NAME="convert(quicktime.std.image.ImageDescription, quicktime.util.EncodedImage, int, quicktime.qd.ColorTable, int, int, int, quicktime.std.image.CodecComponent, quicktime.util.EncodedImage)"><!-- --></A><H3>convert</H3><PRE>public static final <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> <B>convert</B>(<A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> srcDD, <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> srcData, int colorDepth, <A HREF="../../../quicktime/qd/ColorTable.html">ColorTable</A> clut, int accuracy, int quality, int cType, <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A> codec, <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> dstData) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Converts the format of a compressed image. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.20.htm#iqImag64">QuickTime::ConvertImage</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>srcDD</CODE> - the image description structure that describes the compressed image<DD><CODE>srcData</CODE> - the encoded image data to convert<DD><CODE>colorDepth</CODE> - the depth at which the recompressed image is likely to be viewed<DD><CODE>clut</CODE> - a custom color look up table<DD><CODE>accuracy</CODE> - the accuracy for the decompressed image<DD><CODE>quality</CODE> - the desired compressed image quality<DD><CODE>cType</CODE> - the compressor type<DD><CODE>codec</CODE> - a CodecComponent<DD><CODE>destData</CODE> - a EncodedImage object to receive the converted image data. It is your program's responsibility to make sure that this object can receive at least as much data as indicated by the getMaxCompressionSize method.<DT><B>Returns:</B><DD>an ImageDescription object defining the converted image data. Your application should store this image description with the converted image data.</DL></DD></DL><HR><A NAME="trim(quicktime.std.image.ImageDescription, quicktime.util.EncodedImage, quicktime.util.EncodedImage, quicktime.qd.QDRect)"><!-- --></A><H3>trim</H3><PRE>public static final void <B>trim</B>(<A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> desc, <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> inData, <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> outData,
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?