qtimage.html

来自「这个是java的quicktime for java 的详细使用文档」· HTML 代码 · 共 670 行 · 第 1/3 页

HTML
670 行
字号
                              <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;trimRect)                       throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Ajusts a compressed image to the boundaries defined by a QDRect specified by your application.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.20.htm#iqImag67">QuickTime::TrimImage</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>desc</CODE> - an ImageDescription object that describes the compressed image.                 On return from this method, the compressor updates this image                 description to refer to the resized image.<DD><CODE>inData</CODE> - the encoded image data<DD><CODE>outData</CODE> - a encoded image object to receive the trimmed image. Your application                 should create this object at least as large as the source image.<DD><CODE>trimRect</CODE> - defines the desired dimensions of the trimmed image</DL></DD></DL><HR><A NAME="decompress(quicktime.util.EncodedImage, quicktime.std.image.ImageDescription, quicktime.qd.QDGraphics, quicktime.qd.QDRect, int)"><!-- --></A><H3>decompress</H3><PRE>public static final void <B>decompress</B>(<A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A>&nbsp;data,                                    <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A>&nbsp;desc,                                    <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;dst,                                    <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;dstRect,                                    int&nbsp;mode)                             throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A>,                                    <A HREF="../../../quicktime/qd/QDException.html">QDException</A></PRE><DL><DD>Decompresses a single frame image into a pixel map structure.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.20.htm#iqImag55">QuickTime::DecompressImage</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - a EncodedImage object that contains the compressed image data<DD><CODE>desc</CODE> - an ImageDescription object that defines the compressed image<DD><CODE>dst</CODE> - a QDGraphics that contains the PixMap where the decompressed image is to be displayed. This may NOT be null.<DD><CODE>dstRect</CODE> - a QDRect into which the decompressed image is to be loaded<DD><CODE>mode</CODE> - the transfer mode for the operation</DL></DD></DL><HR><A NAME="decompress(quicktime.util.EncodedImage, quicktime.std.image.ImageDescription, quicktime.qd.QDGraphics, quicktime.qd.QDRect, quicktime.qd.QDRect, int, quicktime.qd.Region)"><!-- --></A><H3>decompress</H3><PRE>public static final void <B>decompress</B>(<A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A>&nbsp;data,                                    <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A>&nbsp;desc,                                    <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;dst,                                    <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;srcRect,                                    <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;dstRect,                                    int&nbsp;mode,                                    <A HREF="../../../quicktime/qd/Region.html">Region</A>&nbsp;mask)                             throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A>,                                    <A HREF="../../../quicktime/qd/QDException.html">QDException</A></PRE><DL><DD>Decompresses a single frame image into a pixel map structure.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.20.htm#iqImag55">QuickTime::DecompressImage</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - a EncodedImage object that contains the compressed image data<DD><CODE>desc</CODE> - an ImageDescription object that defines the compressed image<DD><CODE>dst</CODE> - a QDGraphics that contains the PixMap where the decompressed image is to be displayed. This may NOT be null.<DD><CODE>srcRect</CODE> - a QDRect defining the portion of the image to decompress<DD><CODE>dstRect</CODE> - a QDRect into which the decompressed image is to be loaded<DD><CODE>mode</CODE> - the transfer mode for the operation<DD><CODE>mask</CODE> - a clipping region in the destination coordinate system</DL></DD></DL><HR><A NAME="fDecompress(quicktime.util.EncodedImage, quicktime.std.image.ImageDescription, quicktime.qd.QDGraphics, quicktime.qd.QDRect, quicktime.std.image.Matrix, int, quicktime.qd.Region, quicktime.qd.PixMap, quicktime.qd.QDRect, int, quicktime.std.image.CodecComponent)"><!-- --></A><H3>fDecompress</H3><PRE>public static final void <B>fDecompress</B>(<A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A>&nbsp;data,                                     <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A>&nbsp;desc,                                     <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;dst,                                     <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;srcRect,                                     <A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A>&nbsp;matrix,                                     int&nbsp;mode,                                     <A HREF="../../../quicktime/qd/Region.html">Region</A>&nbsp;mask,                                     <A HREF="../../../quicktime/qd/PixMap.html">PixMap</A>&nbsp;matte,                                     <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;matteRect,                                     int&nbsp;accuracy,                                     <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A>&nbsp;codec)                              throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A>,                                     <A HREF="../../../quicktime/qd/QDException.html">QDException</A></PRE><DL><DD>Decompresses a single frame image into a pixel map structure. 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.20.htm#iqImag60">QuickTime::FDecompressImage</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - a EncodedImage object that contains the compressed image data<DD><CODE>desc</CODE> - an ImageDescription object that defines the compressed image<DD><CODE>dst</CODE> - a QDGraphics that contains the PixMap where the decompressed image is to be displayed. This may NOT be null.<DD><CODE>srcRect</CODE> - a QDRect defining the portion of the image to decompress<DD><CODE>matrix</CODE> - a Matrix specifies how to transform the image during decompression<DD><CODE>mode</CODE> - the transfer mode for the operation<DD><CODE>mask</CODE> - a Region in the destination coordinate system<DD><CODE>matte</CODE> - a PixMap that contains a blend matte<DD><CODE>matteRect</CODE> - a QDRect defining a portion of the blend matte to apply<DD><CODE>accuracy</CODE> - the accuracy desired in the decompressed image<DD><CODE>codec</CODE> - a codec component</DL></DD></DL><HR><A NAME="getMaxCompressionSize(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, int, int, quicktime.std.image.CodecComponent)"><!-- --></A><H3>getMaxCompressionSize</H3><PRE>public static final int <B>getMaxCompressionSize</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;src,                                              <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;srcRect,                                              int&nbsp;colorDepth,                                              int&nbsp;quality,                                              int&nbsp;cType,                                              <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A>&nbsp;c)                                       throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A>,                                              <A HREF="../../../quicktime/qd/QDException.html">QDException</A></PRE><DL><DD>Determines the maximum size an image will be after compression.  The size returned is in the number of bytes that the encoded image will require.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.1f.htm#iqImag35"> see QuickTime::GetMaxCompressionSize</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>src</CODE> - is a QDGraphics that contains the PixMap to be compressed. This may NOT be null.<DD><CODE>srcRect</CODE> - points to the QDRect defining the portion of the source image that is to be compressed<DD><CODE>colorDepth</CODE> - the depth at which the image is to be compressed<DD><CODE>quality</CODE> - the desired compressed image quality<DD><CODE>cType</CODE> - a compressor type<DD><CODE>c</CODE> - a compressor component<DT><B>Returns:</B><DD>size of the compressed pixmap</DL></DD></DL><HR><A NAME="getCompressedSize(quicktime.std.image.ImageDescription, quicktime.util.EncodedImage)"><!-- --></A><H3>getCompressedSize</H3><PRE>public static final int <B>getCompressedSize</B>(<A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A>&nbsp;desc,                                          <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A>&nbsp;data)                                   throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Determines the size in bytes of a compressed image. 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.1f.htm#iqImag43">QuickTime::GetCompressedImageSize</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>desc</CODE> - an ImageDescription object that defines the compressed image<DD><CODE>data</CODE> - a EncodedImage object that contains the compressed image data<DT><B>Returns:</B><DD>the size of the compressed image in bytes</DL></DD></DL><HR><A NAME="getCompressionTime(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, int, quicktime.std.image.CodecComponent, int, int)"><!-- --></A><H3>getCompressionTime</H3><PRE>public static final int <B>getCompressionTime</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;src,                                           <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;srcRect,                                           int&nbsp;colorDepth,                                           int&nbsp;cType,                                           <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A>&nbsp;c,                                           int&nbsp;spatialQuality,                                           int&nbsp;temporalQuality)                                    throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A>,                                           <A HREF="../../../quicktime/qd/QDException.html">QDException</A></PRE><DL><DD>Determines the estimated amount of time required to compress a given image.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.1f.htm#iqImag38"> see QuickTime::GetCompressionTime</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>src</CODE> - a QDGraphics that contains a PixMap object that will be compressed. This may be null.<DD><CODE>srcRect</CODE> - a QDRect defining the portion of the source image that is                       to be compressed<DD><CODE>colorDepth</CODE> - the depth at which the image is to be compressed<DD><CODE>cType</CODE> - a compressor type<DD><CODE>c</CODE> - the compressor component<DD><CODE>spatialQuality</CODE> - the desired compressed image spatial quality<DD><CODE>temporalQuality</CODE> - the desired compressed image temporal quality<DT><B>Returns:</B><DD>the compression time in milliseconds</DL></DD></DL><HR><A NAME="getSimilarity(quicktime.qd.QDGraphics, quicktime.qd.QDRect, quicktime.std.image.ImageDescription, quicktime.util.EncodedImage)"><!-- --></A><H3>getSimilarity</H3><PRE>public static final float <B>getSimilarity</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;src,                                        <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;srcRect,                                        <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A>&nbsp;desc,                                        <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A>&nbsp;data)                                 throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A>,                                        <A HREF="../../../quicktime/qd/QDException.html">QDException</A></PRE><DL><DD>Compares a compressed image to a picture stored in a pixel map and returns a value indicating the relative similarity of the two images.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.1f.htm#iqImag41">QuickTime::GetSimilarity</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>src</CODE> - a QDGraphics that contains a PixMap object containing a noncompressed image.<DD><CODE>srcRect</CODE> - a QDRect defining the portion of the source image to compare                to the compressed image<DD><CODE>desc</CODE> - an ImageDescription object that defines the compressed image<DD><CODE>data</CODE> - an EncodedImage object that contains the compressed image data<DT><B>Returns:</B><DD>the relative similarity value</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_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>&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/QTImage.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-all.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;<A HREF="../../../quicktime/std/image/PathPointInfo.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../quicktime/std/image/VectorStream.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>  &nbsp;&nbsp;<A HREF="QTImage.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&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><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

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