Save This Page
Home » iText-src-2.1.3 » com.lowagie » text » pdf » codec » [javadoc | source]
com.lowagie.text.pdf.codec
public class: BmpImage [javadoc | source]
java.lang.Object
   com.lowagie.text.pdf.codec.BmpImage
Reads a BMP image. All types of BMP can be read.

It is based in the JAI codec.

Field Summary
public  HashMap properties     
 int width     
 int height     
Constructor:
 BmpImage(InputStream is,
    boolean noHeader,
    int size) throws IOException 
Method from com.lowagie.text.pdf.codec.BmpImage Summary:
getImage,   getImage,   getImage,   getImage,   getImage,   process
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.lowagie.text.pdf.codec.BmpImage Detail:
 public static Image getImage(URL url) throws IOException 
    Reads a BMP from an url.
 public static Image getImage(InputStream is) throws IOException 
    Reads a BMP from a stream. The stream is not closed.
 public static Image getImage(String file) throws IOException 
    Reads a BMP from a file.
 public static Image getImage(byte[] data) throws IOException 
    Reads a BMP from a byte array.
 public static Image getImage(InputStream is,
    boolean noHeader,
    int size) throws IOException 
    Reads a BMP from a stream. The stream is not closed. The BMP may not have a header and be considered as a plain DIB.
 protected  void process(InputStream stream,
    boolean noHeader) throws IOException