public class HwmfBitmapDib
extends java.lang.Object
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() |
java.io.InputStream |
getBMPStream() |
java.awt.image.BufferedImage |
getImage() |
protected java.awt.image.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) |
java.lang.String |
toString() |
public int init(LittleEndianInputStream leis, int recordSize) throws java.io.IOException
java.io.IOException
protected int readHeader(LittleEndianInputStream leis) throws java.io.IOException
java.io.IOException
protected int readColors(LittleEndianInputStream leis) throws java.io.IOException
java.io.IOException
protected int readRGBQuad(LittleEndianInputStream leis, int count) throws java.io.IOException
java.io.IOException
public boolean isValid()
public java.io.InputStream getBMPStream()
public byte[] getBMPData()
public java.awt.image.BufferedImage getImage()
public java.lang.String toString()
toString
in class java.lang.Object
protected java.awt.image.BufferedImage getPlaceholder()
Copyright 2019 The Apache Software Foundation or its licensors, as applicable.