|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.app.image.ImageUtil
Some utility routines for dealing with images
Field Summary | |
static int |
kHitTestRgnSrc
This is the OSType that is used to create hit test data for kAnimationCodec compressed images |
Method Summary | |
static ImageDataSequence |
createSequence(java.io.File matchFile)
This routine will create an ImageDataSeqeuence object from the collection of files that are found in the specified directory that begin with the specified fileName. |
static ImageDataSequence |
createSequence(java.io.File matchFile,
FileFilter ff)
This routine will create an ImageDataSeqeuence object from the collection of files that are found in the specified directory that begin with the specified fileName. |
static ImageDataSequence |
createSequence(Track imageTrack)
This routine will create an ImageDataSeqeuence object from specified Track of a Movie. |
static ImageDataSequence |
makeTransparent(ImageDataSequence image,
QDColor keyColor,
QDGraphics gw,
Region[] r)
Takes an ImageSpec object and recompresses the images so that the images have the keyColor set as a transparent colour that will not draw. |
static ImageDataSequence |
makeTransparent(ImageSpec image,
QDColor keyColor)
Takes an ImageSpec object and recompresses the images so that the images have the keyColor set as a transparent colour that will not draw. |
static ImageDataSequence |
makeTransparent(ImageSpec image,
QDColor keyColor,
QDGraphics gw)
Takes an ImageSpec object and recompresses the images so that the images have the keyColor set as a transparent colour that will not draw. |
static ImageDataSequence |
makeTransparent(ImageSpec image,
QDColor keyColor,
QDGraphics gw,
Region r)
Takes an ImageSpec object and recompresses the images so that the images have the keyColor set as a transparent colour that will not draw. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int kHitTestRgnSrc
Method Detail |
public static ImageDataSequence makeTransparent(ImageSpec image, QDColor keyColor) throws QTException
images
- the images to be workedkeyColor
- the color that will be removed from the images appearancepublic static ImageDataSequence makeTransparent(ImageSpec image, QDColor keyColor, QDGraphics gw) throws QTException
keyColor
- the color that will be removed from the images appearancegw
- the QDGraphics that is used to contain the depth and pixel data of the recompressed image(s).
This graphics should be the size of the image (or a portion) that will be used to determine which
parts of the image are compressed.public static ImageDataSequence makeTransparent(ImageSpec image, QDColor keyColor, QDGraphics gw, Region r) throws QTException
images
- the images to be workedkeyColor
- the color that will be removed from the images appearancegw
- the QDGraphics that is used to contain the depth and pixel data of the recompressed image(s).
This graphics should be the size of the image (or a portion) that will be used to determine which
parts of the image are compressed.r
- a hit test Regionpublic static ImageDataSequence makeTransparent(ImageDataSequence image, QDColor keyColor, QDGraphics gw, Region[] r) throws QTException
images
- the images to be workedkeyColor
- the color that will be removed from the images appearancegw
- the QDGraphics that is used to contain the depth and pixel data of the recompressed image(s).
This graphics should be the size of the image (or a portion) that will be used to determine which
parts of the image are compressed.r
- an array of Regions that supply hit test data for each image in the sequence.public static ImageDataSequence createSequence(Track imageTrack) throws QTException
imageTrack
- this track contains image data - it must contain a VideoMedia object.public static ImageDataSequence createSequence(java.io.File matchFile) throws java.io.IOException, QTException
matchFile
- this should be the full path specification of a file that will be used as
a pattern to match against the other files that are contained in the directory that the
match file is found in.for a description of the format of the file name
that this filter will deal with.
public static ImageDataSequence createSequence(java.io.File matchFile, FileFilter ff) throws java.io.IOException, QTException
matchFile
- this should be the full path specification of a file that will be used as
a pattern to match against the other files that are contained in the directory that the
match file is found in.ff
- the file filter objectfor a description of the format of the file name
that this filter will deal with and the methods that can be overridden or extended.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |