public class HwmfBitmapDib extends Object implements GenericRecord
| Modifier and Type | Class and Description |
|---|---|
static class |
HwmfBitmapDib.BitCount |
static class |
HwmfBitmapDib.Compression |
| Constructor and Description |
|---|
HwmfBitmapDib() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBMPData() |
InputStream |
getBMPStream() |
Map<String,Supplier<?>> |
getGenericProperties() |
BufferedImage |
getImage() |
BufferedImage |
getImage(Color foreground,
Color background,
boolean hasAlpha) |
protected BufferedImage |
getPlaceholder() |
int |
init(LittleEndianInputStream leis,
int recordSize) |
boolean |
isValid() |
protected int |
readColors(LittleEndianInputStream leis) |
protected int |
readHeader(LittleEndianInputStream leis) |
protected int |
readRGBQuad(LittleEndianInputStream leis,
int count) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenericChildren, getGenericRecordTypepublic int init(LittleEndianInputStream leis, int recordSize) throws IOException
IOExceptionprotected int readHeader(LittleEndianInputStream leis)
protected int readColors(LittleEndianInputStream leis) throws IOException
IOExceptionprotected int readRGBQuad(LittleEndianInputStream leis, int count) throws IOException
IOExceptionpublic boolean isValid()
public InputStream getBMPStream()
public byte[] getBMPData()
public BufferedImage getImage()
public BufferedImage getImage(Color foreground, Color background, boolean hasAlpha)
public Map<String,Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordprotected BufferedImage getPlaceholder()