| java.lang.Object com.lowagie.text.pdf.codec.BmpImage
BmpImage | public class BmpImage (Code) | | Reads a BMP image. All types of BMP can be read.
It is based in the JAI codec.
author: Paulo Soares (psoares@consiste.pt) |
getImage | public static Image getImage(InputStream is, boolean noHeader, int size) throws IOException(Code) | | 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.
Parameters: is - the stream Parameters: noHeader - true to process a plain DIB Parameters: size - the size of the DIB. Not used for a BMP throws: IOException - on error the image |
getImage | public static Image getImage(byte data) throws IOException(Code) | | Reads a BMP from a byte array.
Parameters: data - the byte array throws: IOException - on error the image |
|
|