📄 imagecompressiondialog.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Mon Jul 15 11:50:59 PDT 2002 --><TITLE>: Class ImageCompressionDialog</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ImageCompressionDialog.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../quicktime/std/qtcomponents/DataRateSettings.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/std/qtcomponents/MovieExporter.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> <A HREF="ImageCompressionDialog.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">quicktime.std.qtcomponents</FONT><BR>Class ImageCompressionDialog</H2><PRE>java.lang.Object | +--<A HREF="../../../quicktime/QTObject.html">quicktime.QTObject</A> | +--<A HREF="../../../quicktime/std/comp/ComponentIdentifier.html">quicktime.std.comp.ComponentIdentifier</A> | +--<A HREF="../../../quicktime/std/comp/Component.html">quicktime.std.comp.Component</A> | +--<A HREF="../../../quicktime/std/qtcomponents/CompressionDialog.html">quicktime.std.qtcomponents.CompressionDialog</A> | +--<B>quicktime.std.qtcomponents.ImageCompressionDialog</B></PRE><DL><DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../quicktime/jdirect/InterfaceLib.html">InterfaceLib</A>, <A HREF="../../../quicktime/jdirect/PrimitivesLib.html">PrimitivesLib</A>, <A HREF="../../../quicktime/jdirect/QuickTimeLib.html">QuickTimeLib</A>, <A HREF="../../../quicktime/jdirect/SharedLibrary.html">SharedLibrary</A>, com.apple.jdirect.SharedLibrary</DD></DL><HR><DL><DT>public final class <B>ImageCompressionDialog</B><DT>extends <A HREF="../../../quicktime/std/qtcomponents/CompressionDialog.html">CompressionDialog</A><DT>implements <A HREF="../../../quicktime/jdirect/QuickTimeLib.html">QuickTimeLib</A></DL><P>This class represents the standard compression dialog for images.<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="fields_inherited_from_class_quicktime.jdirect.QuickTimeLib"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Fields inherited from interface quicktime.jdirect.<A HREF="../../../quicktime/jdirect/QuickTimeLib.html">QuickTimeLib</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/jdirect/QuickTimeLib.html#JDirect_MacOSX">JDirect_MacOSX</A>, <A HREF="../../../quicktime/jdirect/QuickTimeLib.html#libraryInstance">libraryInstance</A>, <A HREF="../../../quicktime/jdirect/QuickTimeLib.html#name">name</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html#ImageCompressionDialog()">ImageCompressionDialog</A></B>()</CODE><BR> Opens the CompressionDialog component for an Image compression dialog.</TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/image/QTImage.html">QTImage</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html#compressImage(quicktime.qd.QDGraphics, quicktime.qd.QDRect)">compressImage</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect)</CODE><BR> Compresses an image 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> <A HREF="../../../quicktime/qd/Pict.html">Pict</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html#compressPicture(quicktime.qd.Pict)">compressPicture</A></B>(<A HREF="../../../quicktime/qd/Pict.html">Pict</A> src)</CODE><BR> Compresses a Pict returning a new Pict.</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><A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html#compressPictureFile(quicktime.io.OpenFile, quicktime.io.OpenFile)">compressPictureFile</A></B>(<A HREF="../../../quicktime/io/OpenFile.html">OpenFile</A> src, <A HREF="../../../quicktime/io/OpenFile.html">OpenFile</A> dest)</CODE><BR> Compresses a Pict contained in the src open Pict file into the destination open Pict file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/qtcomponents/SCSequence.html">SCSequence</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html#compressSequenceBegin(quicktime.qd.QDGraphics, quicktime.qd.QDRect)">compressSequenceBegin</A></B>(<A HREF="../../../quicktime/qd/QDGraphics.html">QDGraphics</A> src, <A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> srcRect)</CODE><BR> Creates a SCSequence object to begin compression of a sequence of images.</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><A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html#defaultPictFileSettings(quicktime.io.OpenFile, boolean)">defaultPictFileSettings</A></B>(<A HREF="../../../quicktime/io/OpenFile.html">OpenFile</A> src, boolean motion)</CODE><BR> Allows you to derive default compression settings for an image that is stored in a Pict File.</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><A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html#defaultPictSettings(quicktime.qd.Pict, boolean)">defaultPictSettings</A></B>(<A HREF="../../../quicktime/qd/Pict.html">Pict</A> src, boolean motion)</CODE><BR> Allows you to derive default compression settings for an image that is stored in a Pict.</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><A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html#defaultPixMapSettings(quicktime.qd.PixMap, boolean)">defaultPixMapSettings</A></B>(<A HREF="../../../quicktime/qd/PixMap.html">PixMap</A> src, boolean motion)</CODE><BR> Allows you to derive default compression settings for an image that is stored in a pixel map.</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><A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html#getCompressFlags()">getCompressFlags</A></B>()</CODE><BR> Gets the compression flags.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/qd/ColorTable.html">ColorTable</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html#getInfoColorTable()">getInfoColorTable</A></B>()</CODE><BR> Gets the current color table or null to clear the current color table for a dialog.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/qtcomponents/DataRateSettings.html">DataRateSettings</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html#getInfoDataRateSettings()">getInfoDataRateSettings</A></B>()</CODE><BR> Gets the current data rate settings for a dialog.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/qtcomponents/SpatialSettings.html">SpatialSettings</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html#getInfoSpatialSettings()">getInfoSpatialSettings</A></B>()</CODE><BR> Gets the current spatial settings for a dialog.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../quicktime/std/qtcomponents/TemporalSettings.html">TemporalSettings</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html#getInfoTemporalSettings()">getInfoTemporalSettings</A></B>()</CODE><BR> Gets the current temporal settings for a dialog.</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><A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html#newGWorld(quicktime.qd.QDRect, int)">newGWorld</A></B>(<A HREF="../../../quicktime/qd/QDRect.html">QDRect</A> rp, int flags)</CODE><BR> Creates an offscreen QDGraphics based on the current compression settings.</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><A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html#requestImageSettings()">requestImageSettings</A></B>()</CODE><BR> Displays the standard dialog box to the user for a single image or for sound.</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><A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html#requestSequenceSettings()">requestSequenceSettings</A></B>()</CODE><BR> Displays the standard dialog box to the user for a sequence of images.</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><A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html#setCompressFlags(int)">setCompressFlags</A></B>(int flags)</CODE><BR> Sets the compression flags.</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><A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html#setInfoColorTable(quicktime.qd.ColorTable)">setInfoColorTable</A></B>(<A HREF="../../../quicktime/qd/ColorTable.html">ColorTable</A> ctab)</CODE><BR> Sets the current color table or null to clear the current color table for a dialog.</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><A HREF="../../../quicktime/std/qtcomponents/ImageCompressionDialog.html#setInfoDataRateSettings(quicktime.std.qtcomponents.DataRateSettings)">setInfoDataRateSettings</A></B>(<A HREF="../../../quicktime/std/qtcomponents/DataRateSettings.html">DataRateSettings</A> settings)</CODE><BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -