All Packages Class Hierarchy This Package Previous Next Index
Class ejmf.toolkit.gui.multiimage.MakeMultiImage
java.lang.Object
|
+----ejmf.toolkit.gui.multiimage.MakeMultiImage
- public class MakeMultiImage
- extends Object
A conveniece class for creating a multi-image (.mti) file.
Usage:
java MakeMultiImage
The frame-delay is in nanoseconds.
- See Also:
- MultiImageComponent, MultiImageFrame, ShowMultiImage
-
usage
- The usage message when run from the command line
-
MakeMultiImage()
-
-
fileToByteArray(File)
- Opens a file and loads the contents into a byte array.
-
main(String[])
- Creates a multi-image (.mit) file based on the given frame
delay and input files.
usage
public static String usage
- The usage message when run from the command line
MakeMultiImage
public MakeMultiImage()
main
public static void main(String args[])
- Creates a multi-image (.mit) file based on the given frame
delay and input files. The input files may be of any
format which the JDK can use to create an Image.
- Parameters:
- args[]
- See the above usage
fileToByteArray
public static byte[] fileToByteArray(File f) throws IOException
- Opens a file and loads the contents into a byte array.
- Parameters:
- f
- The file to open
- Returns:
- A byte array containing the contents of the file.
- Throws: IOException
- If the file could not be read.
All Packages Class Hierarchy This Package Previous Next Index