net.sourceforge.dvb.projectx.subtitle
Class BMP

java.lang.Object
  |
  +--net.sourceforge.dvb.projectx.subtitle.BMP

public class BMP
extends java.lang.Object


Method Summary
static void buildBMP_24bit(java.lang.String outfile, java.lang.String key)
           
static java.lang.String buildBMP_palettized(java.lang.String outfile, Bitmap bitmap, java.util.ArrayList color_table_array, int palette)
           
static java.lang.String buildBMP_palettized(java.lang.String outfile, java.lang.String key, java.util.ArrayList color_table_array, int palette)
           
static void clear()
           
static Bitmap getBitmap(int id)
           
static java.lang.String getContents()
           
static java.util.Enumeration getKeys()
           
static boolean isEmpty()
           
static void savePixels(Bitmap bitmap)
           
static java.lang.String write_ColorTable(java.lang.String outfile, java.util.ArrayList color_table_array, int palette)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getContents

public static java.lang.String getContents()

getKeys

public static java.util.Enumeration getKeys()

isEmpty

public static boolean isEmpty()

clear

public static void clear()

savePixels

public static void savePixels(Bitmap bitmap)

getBitmap

public static Bitmap getBitmap(int id)

buildBMP_24bit

public static void buildBMP_24bit(java.lang.String outfile,
                                  java.lang.String key)
                           throws java.io.IOException

buildBMP_palettized

public static java.lang.String buildBMP_palettized(java.lang.String outfile,
                                                   java.lang.String key,
                                                   java.util.ArrayList color_table_array,
                                                   int palette)
                                            throws java.io.IOException

buildBMP_palettized

public static java.lang.String buildBMP_palettized(java.lang.String outfile,
                                                   Bitmap bitmap,
                                                   java.util.ArrayList color_table_array,
                                                   int palette)
                                            throws java.io.IOException

write_ColorTable

public static java.lang.String write_ColorTable(java.lang.String outfile,
                                                java.util.ArrayList color_table_array,
                                                int palette)
                                         throws java.io.IOException