Contents
Navigation
Home User Reference Other Resources


The color tint filter converts its source into greyscale, then applies a light and a dark color to the image. The light color replaces the white in the greyscale image, and the dark color replaces the black. This filter also includes brightness and contrast controls. The end result is a tinted duochrome version of the source image. You can use this filter, for example, to apply a sepia tone to a source.

The color tint filter takes a maximum of one source.

The QTPlgEffectColorTintDesc class implements methods and properties to setup programmatically the parameters of the color tint filter provided natively by QuickTime.







The QTPlgEffectColorTintDesc class constructors are called when you create a new instance of the class, while the ˜QTPlgEffectColorTintDesc class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.
Once a new class instance is returned, it is good practice to check the class property to be sure that the new object can be used. For discussion about the validity of an effect description instance see the documentation relative to the .

The class provides you with the following initializer methods:
()
This is the default constructor. Use this constructor to create a completely new data descriptor container in memory.
(other as )
This is the copy constructor. The properties of the object to be copied will be used to initialize the new class instance properties. Note that the parameter passed is a generic object; this is due to the fact that you could use a descriptor obtained by the that returns a generic . Anyway, the class makes a control to check if the passed object is suitable for use and, if not, will initialize the class instance with default values

determines the style to apply to the source. You can specify one of the defined below
if you want to use a custom style set this property to true; in this case, the value assigned to the property will be ignored and, instead, will take effect the properties defined below
specifies the amount to adjust the brightness of the source by, ranging from –255 (all colors are replaced with black) to 255 (all colors are replaced with white). A value of 0 will leave the brightness unchanged
specifies the amount to adjust the contrast of the source by, ranging from –255 (minimum contrast) to 255 (maximum contrast). A value of 0 will leave the contrast unchanged
specifies the color to use to replace the black of the greyscale image
specifies the color to use to replace the white of the greyscale image


the destination is a greyscale version of the source
applies the x–ray style
the destination is a slightly saturated, monochromatic version of the source, colorized into shades of light red–brown
applies the cobalt style