📄 graphicsimporter.html
字号:
<HR><A NAME="setGraphicsMode(quicktime.std.image.GraphicsMode)"><!-- --></A><H3>setGraphicsMode</H3><PRE>public final void <B>setGraphicsMode</B>(<A HREF="../../../quicktime/std/image/GraphicsMode.html">GraphicsMode</A> graphicsMode) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Sets the graphics mode and color for an image. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1f.htm#42424">QuickTime::GraphicsImportSetGraphicsMode</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>graphicsMode</CODE> - Specifies the graphics transfer mode.</DL></DD></DL><HR><A NAME="getGraphicsMode()"><!-- --></A><H3>getGraphicsMode</H3><PRE>public final <A HREF="../../../quicktime/std/image/GraphicsMode.html">GraphicsMode</A> <B>getGraphicsMode</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Determines the graphics mode for an image. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1f.htm#20935">QuickTime::GraphicsImportGetGraphicsMode</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The graphics transfer mode.</DL></DD></DL><HR><A NAME="setQuality(int)"><!-- --></A><H3>setQuality</H3><PRE>public final void <B>setQuality</B>(int quality) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Sets the image quality value. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1f.htm#13425">QuickTime::GraphicsImportSetQuality</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>quality</CODE> - Specifies a quality CodecQ value</DL></DD></DL><HR><A NAME="getQuality()"><!-- --></A><H3>getQuality</H3><PRE>public final int <B>getQuality</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Determines the image quality value. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1f.htm#33750">QuickTime::GraphicsImportGetQuality</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The image quality value.</DL></DD></DL><HR><A NAME="getAliasedDataReference()"><!-- --></A><H3>getAliasedDataReference</H3><PRE>public final <A HREF="../../../quicktime/util/QTHandle.html">QTHandle</A> <B>getAliasedDataReference</B>() throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Determines the aliased data reference. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/ref_undocfuncs.htm#pgfId=16981">QuickTime::GraphicsImportGetAliasedDataReference</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The handle to the aliased data reference</DL></DD></DL><HR><A NAME="getAliasedDataType()"><!-- --></A><H3>getAliasedDataType</H3><PRE>public final int <B>getAliasedDataType</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Determines the aliased data type. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/ref_undocfuncs.htm#pgfId=16981">QuickTime::GraphicsImportGetAliasedDataReference</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The aliased data type</DL></DD></DL><HR><A NAME="setGWorld(quicktime.qd.QDGraphics, quicktime.qd.GDevice)"><!-- --></A><H3>setGWorld</H3><PRE>public final void <B>setGWorld</B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> port, <A HREF="../../../quicktime/qd/GDevice.html">GDevice</A> gdh) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Call this method to give the client the QDGraphics object it should use to do its drawing. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.20.htm#35308">QuickTime::GraphicsImportSetGWorld</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>port</CODE> - a QDGraphics object or null to use current port<DD><CODE>gdh</CODE> - a GDevice object or null to use current device</DL></DD></DL><HR><A NAME="getGWorld()"><!-- --></A><H3>getGWorld</H3><PRE>public final <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> <B>getGWorld</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Call this method to obtain the QDGraphics of the object. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.20.htm#23794">QuickTime::GraphicsImportGetGWorld</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The current destination graphics port</DL></DD></DL><HR><A NAME="validate()"><!-- --></A><H3>validate</H3><PRE>public final boolean <B>validate</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Determines if the current graphics importer data reference contains valid image data. Not all graphics importers implement this method. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1e.htm#21028">QuickTime::GraphicsImportValidate</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>True if a valid operation, false otherwise.</DL></DD></DL><HR><A NAME="doesDrawAllPixels()"><!-- --></A><H3>doesDrawAllPixels</H3><PRE>public final int <B>doesDrawAllPixels</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Determines if the GraphicsImporter will draw all the pixels that are contained in the image data that it is presenting. Some image formats (for example GIF) allow a color to be set as invisible or transparent. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1e.htm#18149">QuickTime::GraphicsImportDoesDrawAllPixels</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a value that indicates if this instance of the importer will draw all pixels</DL></DD></DL><HR><A NAME="getAsPicture()"><!-- --></A><H3>getAsPicture</H3><PRE>public <A HREF="../../../quicktime/qd/Pict.html">Pict</A> <B>getAsPicture</B>() 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</DL></DD></DL><HR><A NAME="getMetaData(quicktime.std.image.GraphicsImporter)"><!-- --></A><H3>getMetaData</H3><PRE>public <A HREF="../../../quicktime/std/movies/media/UserData.html">UserData</A> <B>getMetaData</B>(<A HREF="../../../quicktime/std/image/GraphicsImporter.html">GraphicsImporter</A> gi) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Gets metadata from an image file and adds it to a user data structure. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.1e.htm#28475">QuickTime::GraphicsImportGetMetaData</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a UserData structure</DL></DD></DL><HR><A NAME="getMIMETypeList()"><!-- --></A><H3>getMIMETypeList</H3><PRE>public <A HREF="../../../quicktime/std/movies/AtomContainer.html">AtomContainer</A> <B>getMIMETypeList</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns a list of MIME types supported by the graphics import component. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.22.htm#13518">QuickTime::GraphicsImportGetMIMETypeList</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a QT atom container that contains a list of MIME types supported by the graphics import component.</DL></DD></DL><HR><A NAME="exportImageFile(int, int, quicktime.io.QTFile, int)"><!-- --></A><H3>exportImageFile</H3><PRE>public void <B>exportImageFile</B>(int fileType, int fileCreator, <A HREF="../../../quicktime/io/QTFile.html">QTFile</A> theFile, int scriptTag) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Saves an image in a foreign file format. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.21.htm#42279">QuickTime::GraphicsImportExportImageFile</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>fileType</CODE> - the file type<DD><CODE>fileCreator</CODE> - the fie creator<DD><CODE>theFile</CODE> - the output file to write to.</DL></DD></DL><HR><A NAME="getExportImageTypeList()"><!-- --></A><H3>getExportImageTypeList</H3><PRE>public final <A HREF="../../../quicktime/std/movies/AtomContainer.html">AtomContainer</A> <B>getExportImageTypeList</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns information about available export formats. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.21.htm#25890">QuickTime::GraphicsImportGetExportImageTypeList</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a QT atom container that contains a list of available export formats. supported by the graphics import component.</DL></DD></DL><HR><A NAME="getExportSettingsAsAtomContainer()"><!-- --></A><H3>getExportSettingsAsAtomContainer</H3><PRE>public final <A HREF="../../../quicktime/std/movies/AtomContainer.html">AtomContainer</A> <B>getExportSettingsAsAtomContainer</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns the Export settings as an Atom Container. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refImporter.21.htm#19074">QuickTime::GraphicsImportGetExportSettingsAsAtomContainer</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a QT atom container that contains Export settings.</DL></DD></DL><HR><A NAME="setExportSettingsFromAtomContainer(quicktime.std.movies.AtomContainer)"><!-- --></A><H3>setExportSettingsFromAtomContainer</H3><PRE>public final void
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -