📄 qdgraphics.html
字号:
<BR> Creates an offscreen QDGraphics object from the width, height, depth, and color table of a specified image description structure.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A></CODE></FONT></TD><TD><CODE><B>GraphicsImporter.</B><B><A HREF="../../../quicktime/std/image/GraphicsImporter.html#getGWorld()">getGWorld</A></B>()</CODE><BR> Call this method to obtain the QDGraphics of the object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A></CODE></FONT></TD><TD><CODE><B>DSequence.</B><B><A HREF="../../../quicktime/std/image/DSequence.html#getImageBuffer()">getImageBuffer</A></B>()</CODE><BR> This method helps you determine the location of the offscreen image buffer allocated by the decompressor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A></CODE></FONT></TD><TD><CODE><B>DSequence.</B><B><A HREF="../../../quicktime/std/image/DSequence.html#getScreenBuffer()">getScreenBuffer</A></B>()</CODE><BR> This method enables you to determine the location of the offscreen buffer allocated by the decompressor.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../quicktime/std/image/package-summary.html">quicktime.std.image</A> with parameters of type <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A></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>GraphicsExporter.</B><B><A HREF="../../../quicktime/std/image/GraphicsExporter.html#setInputGWorld(quicktime.qd.QDGraphics)">setInputGWorld</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> gworld)</CODE><BR> Sets the QDGraphics as the source for input images to graphics export component.</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>GraphicsExporter.</B><B><A HREF="../../../quicktime/std/image/GraphicsExporter.html#setInputPixmap(quicktime.qd.QDGraphics)">setInputPixmap</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> gworld)</CODE><BR> Sets the QDGraphics as the source for input images to graphics export component.</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>GraphicsExporter.</B><B><A HREF="../../../quicktime/std/image/GraphicsExporter.html#drawInputImage(quicktime.qd.QDGraphics, quicktime.qd.QDRect, quicktime.qd.QDRect)">drawInputImage</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> gw, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> destRect)</CODE><BR> Used by format-specific graphics exporters, especially when doing standalone export: Draws a rectangular portion of the input image.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/image/CompressedFrameInfo.html">CompressedFrameInfo</A></CODE></FONT></TD><TD><CODE><B>CSequence.</B><B><A HREF="../../../quicktime/std/image/CSequence.html#compressFrame(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, quicktime.util.EncodedImage)">compressFrame</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int flags, <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> data)</CODE><BR> Your application calls this method to compress one of a sequence of frames.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/image/CompressedFrameInfo.html">CompressedFrameInfo</A></CODE></FONT></TD><TD><CODE><B>CSequence.</B><B><A HREF="../../../quicktime/std/image/CSequence.html#compressFrame(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, quicktime.util.IntEncodedImage)">compressFrame</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int flags, <A HREF="../../../quicktime/util/IntEncodedImage.html">IntEncodedImage</A> data)</CODE><BR> Your application calls this method to compress one of a sequence of frames.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/image/CompressedFrameInfo.html">CompressedFrameInfo</A></CODE></FONT></TD><TD><CODE><B>CSequence.</B><B><A HREF="../../../quicktime/std/image/CSequence.html#compressFrame(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, quicktime.util.ByteEncodedImage)">compressFrame</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int flags, <A HREF="../../../quicktime/util/ByteEncodedImage.html">ByteEncodedImage</A> data)</CODE><BR> Your application calls this method to compress one of a sequence of frames.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/image/CompressedFrameInfo.html">CompressedFrameInfo</A></CODE></FONT></TD><TD><CODE><B>CSequence.</B><B><A HREF="../../../quicktime/std/image/CSequence.html#compressFrame(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, quicktime.util.RawEncodedImage)">compressFrame</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, int flags, <A HREF="../../../quicktime/util/RawEncodedImage.html">RawEncodedImage</A> data)</CODE><BR> Your application calls this method to compress one of a sequence of frames.</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>CSequence.</B><B><A HREF="../../../quicktime/std/image/CSequence.html#getMaxCompressionSize(quicktime.qd.QDGraphics)">getMaxCompressionSize</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src)</CODE><BR> This method allows your application to determine the maximum size an image will be after compression for a given compression sequence.</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>CSequence.</B><B><A HREF="../../../quicktime/std/image/CSequence.html#setPrev(quicktime.qd.QDGraphics, quicktime.qd.QDRect)">setPrev</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> prev, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> prevRect)</CODE><BR> This method allows the application to set the pixel map and boundary rectangle used by the previous frame in temporal compression.</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>ImageDescription.</B><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>QTImage.</B><B><A HREF="../../../quicktime/std/image/QTImage.html#compress(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, int, quicktime.util.EncodedImage)">compress</A></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)</CODE><BR> Compresses a single frame image that is currently stored as a pixel map.</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>QTImage.</B><B><A HREF="../../../quicktime/std/image/QTImage.html#fCompress(quicktime.qd.QDGraphics, quicktime.qd.QDRect, int, int, int, quicktime.std.image.CodecComponent, quicktime.qd.ColorTable, int, quicktime.util.EncodedImage)">fCompress</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, <A HREF="../../../quicktime/qd/ColorTable.html">ColorTable</A> clut, int flags, <A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> data)</CODE><BR> Compresses a single frame image that is currently stored as a pixel map.</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>QTImage.</B><B><A HREF="../../../quicktime/std/image/QTImage.html#decompress(quicktime.util.EncodedImage, quicktime.std.image.ImageDescription, quicktime.qd.QDGraphics, quicktime.qd.QDRect, int)">decompress</A></B>(<A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> data, <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> desc, <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> dst, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> dstRect, int mode)</CODE><BR> Decompresses a single frame image into a pixel map structure.</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>QTImage.</B><B><A HREF="../../../quicktime/std/image/QTImage.html#decompress(quicktime.util.EncodedImage, quicktime.std.image.ImageDescription, quicktime.qd.QDGraphics, quicktime.qd.QDRect, quicktime.qd.QDRect, int, quicktime.qd.Region)">decompress</A></B>(<A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> data, <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> desc, <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> dst, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> dstRect, int mode, <A HREF="../../../quicktime/qd/Region.html">Region</A> mask)</CODE><BR> Decompresses a single frame image into a pixel map structure.</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>QTImage.</B><B><A HREF="../../../quicktime/std/image/QTImage.html#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)">fDecompress</A></B>(<A HREF="../../../quicktime/util/EncodedImage.html">EncodedImage</A> data, <A HREF="../../../quicktime/std/image/ImageDescription.html">ImageDescription</A> desc, <A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> dst, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect, <A HREF="../../../quicktime/std/image/Matrix.html">Matrix</A> matrix, int mode, <A HREF="../../../quicktime/qd/Region.html">Region</A> mask, <A HREF="../../../quicktime/qd/PixMap.html">PixMap</A> matte, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> matteRect, int accuracy, <A HREF="../../../quicktime/std/image/CodecComponent.html">CodecComponent</A> codec)</CODE><BR> Decompresses a single frame image into a pixel map structure.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -