⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pict.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<TD><CODE><B><A HREF="../../quicktime/qd/Pict.html#isOpen()">isOpen</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the pict is open for recording drawing operations.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../quicktime/qd/Pict.html">Pict</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Pict.html#makeThumbnail(int)">makeThumbnail</A></B>(int&nbsp;colorDepth)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This allows your application to create an 80-by-80 pixel thumbnail picture from a specified picture.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/qd/Pict.html">Pict</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Pict.html#open(quicktime.qd.QDGraphics, quicktime.qd.OpenCPicParams)">open</A></B>(<A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;port,     <A HREF="../../quicktime/qd/OpenCPicParams.html">OpenCPicParams</A>&nbsp;params)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Use OpenCPicture to begin defining a picture, collecting all of your subsequent  drawing commands in this record.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;<A HREF="../../quicktime/qd/Pict.html">Pict</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Pict.html#thumbnailFromQDGraphics(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int)">thumbnailFromQDGraphics</A></B>(<A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;qd,                        <A HREF="../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;src,                        int&nbsp;colorDepth)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an 80-by-80 pixel thumbnail picture from the pixmap associated with this QDGraphics.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../quicktime/util/RawEncodedImage.html">RawEncodedImage</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Pict.html#toEncodedImage()">toEncodedImage</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a version of the Pict as an EncodedImage object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Pict.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Print information about this object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../quicktime/qd/Pict.html#writeToFile(java.io.File)">writeToFile</A></B>(java.io.File&nbsp;file)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write out the Pict to the specified file.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.util.QTHandleRef"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.util.<A HREF="../../quicktime/util/QTHandleRef.html">QTHandleRef</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../quicktime/util/QTHandleRef.html#copyFromArray(int, byte[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyFromArray(int, char[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyFromArray(int, double[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyFromArray(int, float[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyFromArray(int, int[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyFromArray(int, long[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyFromArray(int, short[], int, int)">copyFromArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyToArray(int, byte[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyToArray(int, char[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyToArray(int, double[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyToArray(int, float[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyToArray(int, int[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyToArray(int, long[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#copyToArray(int, short[], int, int)">copyToArray</A>, <A HREF="../../quicktime/util/QTHandleRef.html#fromCompressionDialogState(quicktime.std.qtcomponents.CompressionDialog)">fromCompressionDialogState</A>, <A HREF="../../quicktime/util/QTHandleRef.html#fromSCSequence(quicktime.std.qtcomponents.SCSequence, quicktime.qd.QDGraphics, quicktime.qd.QDRect)">fromSCSequence</A>, <A HREF="../../quicktime/util/QTHandleRef.html#getBytes()">getBytes</A>, <A HREF="../../quicktime/util/QTHandleRef.html#getSize()">getSize</A>, <A HREF="../../quicktime/util/QTHandleRef.html#inMemory()">inMemory</A>, <A HREF="../../quicktime/util/QTHandleRef.html#isLocked()">isLocked</A>, <A HREF="../../quicktime/util/QTHandleRef.html#lock()">lock</A>, <A HREF="../../quicktime/util/QTHandleRef.html#lockHigh()">lockHigh</A>, <A HREF="../../quicktime/util/QTHandleRef.html#moveHigh()">moveHigh</A>, <A HREF="../../quicktime/util/QTHandleRef.html#toQTPointer()">toQTPointer</A>, <A HREF="../../quicktime/util/QTHandleRef.html#toQTPointer(int, int)">toQTPointer</A>, <A HREF="../../quicktime/util/QTHandleRef.html#unlock()">unlock</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.QTObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.<A HREF="../../quicktime/QTObject.html">QTObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../quicktime/QTObject.html#disposeQTObject()">disposeQTObject</A>, <A HREF="../../quicktime/QTObject.html#equals(java.lang.Object)">equals</A>, <A HREF="../../quicktime/QTObject.html#ID(quicktime.QTObject)">ID</A></CODE></TD></TR></TABLE>&nbsp;<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>getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<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="Pict(byte[])"><!-- --></A><H3>Pict</H3><PRE>public <B>Pict</B>(byte[]&nbsp;pictBytes)     throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Create a Pict object from an array of bytes. This is expected to be in the format of a Pict Handle - ie. if you are reading this in from a Pict file you must drop the first 512 bytes from the file.<DD><DL><DT><B>Parameters:</B><DD><CODE>pictBytes</CODE> - the bytes of the pict handle</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="thumbnailFromQDGraphics(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int)"><!-- --></A><H3>thumbnailFromQDGraphics</H3><PRE>public static <A HREF="../../quicktime/qd/Pict.html">Pict</A> <B>thumbnailFromQDGraphics</B>(<A HREF="../../quicktime/qd/QDGraphics.html">QDGraphics</A>&nbsp;qd,                                           <A HREF="../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;src,                                           int&nbsp;colorDepth)                                    throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Creates an 80-by-80 pixel thumbnail picture from the pixmap associated with this QDGraphics.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqImageCompMgr.22.htm#iqImag114">QuickTime::MakeThumbnailFromPixMap()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>qd</CODE> - the QDGraphics from which to make the thumbnail<DD><CODE>src</CODE> - a QDRect object defining the portion of the image to use for the thumbnail<DD><CODE>colorDepth</CODE> - specifies the depth at which the image is likely to be viewed<DT><B>Returns:</B><DD>a Pict object representing the thumbnail</DL></DD></DL><HR><A NAME="fromTrack(quicktime.std.movies.Track, int)"><!-- --></A><H3>fromTrack</H3><PRE>public static <A HREF="../../quicktime/qd/Pict.html">Pict</A> <B>fromTrack</B>(<A HREF="../../quicktime/std/movies/Track.html">Track</A>&nbsp;t,                             int&nbsp;time)                      throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method creates a QuickDraw picture from the specified track at the specified time.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.2e.htm#iqMovi581">QuickTime::GetTrackPict()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>t</CODE> - the track object<DD><CODE>time</CODE> - Specifies the track image for the picture. The time parameter contains the time from which the image is taken.<DT><B>Returns:</B><DD>a Pict object for the specified time.<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/movies/Track.html#getPict(int)"><CODE>Track.getPict(int)</CODE></A></DL></DD></DL><HR><A NAME="fromMovie(quicktime.std.movies.Movie, int)"><!-- --></A><H3>fromMovie</H3><PRE>public static <A HREF="../../quicktime/qd/Pict.html">Pict</A> <B>fromMovie</B>(<A HREF="../../quicktime/std/movies/Movie.html">Movie</A>&nbsp;m,                             int&nbsp;time)                      throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method creates a picture from the specified movie at the specified time.  This function uses only those movie tracks that are currently enabled and would therefore  be used in playback. Your application may call this function even if the movie is inactive.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.2e.htm#iqMovi572">QuickTime::GetMoviePict()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>time</CODE> - contains the time from which the image is taken.<DD><CODE>m</CODE> - the Movie object<DT><B>Returns:</B><DD>a Pict object<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/movies/Movie.html#getPict(int)"><CODE>Movie.getPict(int)</CODE></A></DL></DD></DL><HR><A NAME="fromMovie(quicktime.std.movies.Movie)"><!-- --></A><H3>fromMovie</H3><PRE>public static <A HREF="../../quicktime/qd/Pict.html">Pict</A> <B>fromMovie</B>(<A HREF="../../quicktime/std/movies/Movie.html">Movie</A>&nbsp;m)                      throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method creates a picture that contains a movie's poster. returns a PicHandle object for the image.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.2e.htm#iqMovi577">QuickTime::GetMoviePosterPict()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>m</CODE> - the Movie object<DT><B>Returns:</B><DD>a Pict object<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/movies/Movie.html#getPosterPict()"><CODE>Movie.getPosterPict()</CODE></A></DL></DD></DL><HR><A NAME="fromPresentation(quicktime.streaming.Presentation, quicktime.streaming.Stream)"><!-- --></A><H3>fromPresentation</H3><PRE>public static <A HREF="../../quicktime/qd/Pict.html">Pict</A> <B>fromPresentation</B>(<A HREF="../../quicktime/streaming/Presentation.html">Presentation</A>&nbsp;p,                                    <A HREF="../../quicktime/streaming/Stream.html">Stream</A>&nbsp;s)                             throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method creates a picture that contains a representation of the presentation returns a PicHandle object for the image.</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>p</CODE> - the Presentation object<DD><CODE>s</CODE> - the stream object<DT><B>Returns:</B><DD>a Pict object<DT><B>See Also: </B><DD><A HREF="../../quicktime/streaming/Presentation.html#getPicture(quicktime.streaming.Stream)"><CODE>Presentation.getPicture(quicktime.streaming.Stream)</CODE></A></DL></DD></DL><HR><A NAME="fromSequenceGrabber(quicktime.std.sg.SequenceGrabber, quicktime.qd.QDRect, int, int)"><!-- --></A><H3>fromSequenceGrabber</H3><PRE>public static <A HREF="../../quicktime/qd/Pict.html">Pict</A> <B>fromSequenceGrabber</B>(<A HREF="../../quicktime/std/sg/SequenceGrabber.html">SequenceGrabber</A>&nbsp;sg,                                       <A HREF="../../quicktime/qd/QDRect.html">QDRect</A>&nbsp;bounds,                                       int&nbsp;offscreenDepth,                                       int&nbsp;grabPictFlags)                                throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Provides a simple interface to obtain a QuickDraw picture from a sequence grabber component.  The sequence grabber can display the picture directly, or it can write the picture to an  offscreen buffer. This function is limited in scope, however, and does not allow you to  control all of the parameters that govern the operation. When you call this function,  the sequence grabber component obtains and configures appropriate sequence grabber  channel components (if necessary), grabs the data, and then releases any components  it obtained. 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imSeqGrabComp.c.htm#imSeqG273">QuickTime::SGGrabPict</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>bounds</CODE> - The bounding rectangle.<DD><CODE>offscreenDepth</CODE> - The bit depth of the Pict.<DD><CODE>grabPictFlags</CODE> - The flags for the operation.<DT><B>Returns:</B><DD>The Pict.<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/sg/SequenceGrabber.html#grabPict(quicktime.qd.QDRect, int, int)"><CODE>SequenceGrabber.grabPict(quicktime.qd.QDRect, int, int)</CODE></A></DL></DD></DL><HR><A NAME="fromGraphicsImporter(quicktime.std.image.GraphicsImporter)"><!-- --></A><H3>fromGraphicsImporter</H3><PRE>public static <A HREF="../../quicktime/qd/Pict.html">Pict</A> <B>fromGraphicsImporter</B>(<A HREF="../../quicktime/std/image/GraphicsImporter.html">GraphicsImporter</A>&nbsp;gi)                                 throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Creates a new Pict containing the image currently in use by this import component.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.21.htm#23218">QuickTime::GraphicsImportGetAsPicture</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a pict<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/image/GraphicsImporter.html#getAsPicture()"><CODE>GraphicsImporter.getAsPicture()</CODE></A></DL></DD></DL><HR><A NAME="fromGraphicsExporter(quicktime.std.image.GraphicsExporter)"><!-- --></A><H3>fromGraphicsExporter</H3><PRE>public static <A HREF="../../quicktime/qd/Pict.html">Pict</A> <B>fromGraphicsExporter</B>(<A HREF="../../quicktime/std/image/GraphicsExporter.html">GraphicsExporter</A>&nbsp;ge)                                 throws <A HREF="../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Creates a new Pict containing the image currently in use by this import component.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refExporter.22.htm#35673">QuickTime::GraphicsExportGetInputPicture</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a pict<DT><B>See Also: </B><DD><A HREF="../../quicktime/std/image/GraphicsExporter.html#getInputPicture()"><CODE>GraphicsExporter.getInputPicture()</CODE></A></DL></DD></DL><HR><A NAME="fromImageCompressionDialog(quicktime.std.qtcomponents.ImageCompressionDialog, quicktime.qd.Pict)"><!-- --></A><H3>fromImageCompressionDialog</H3><PRE>public static <A HREF="../../quicktime/qd/Pict.html">Pict</A> <B>fromImageCompressionDialog</B>(<A HREF="../../quicktime/std/qtcomponents/ImageCompressionDialog.html">ImageCompressionDialog</A>&nbsp;icd,

⌨️ 快捷键说明

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