org.apache.poi.hwmf.record
Class HwmfBitmapDib
java.lang.Object
org.apache.poi.hwmf.record.HwmfBitmapDib
public class HwmfBitmapDib
- extends java.lang.Object
The DeviceIndependentBitmap Object defines an image in device-independent bitmap (DIB) format.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HwmfBitmapDib
public HwmfBitmapDib()
init
public int init(LittleEndianInputStream leis,
int recordSize)
throws java.io.IOException
- Throws:
java.io.IOException
readHeader
protected int readHeader(LittleEndianInputStream leis)
throws java.io.IOException
- Throws:
java.io.IOException
readColors
protected int readColors(LittleEndianInputStream leis)
throws java.io.IOException
- Throws:
java.io.IOException
readRGBQuad
protected int readRGBQuad(LittleEndianInputStream leis,
int count)
throws java.io.IOException
- Throws:
java.io.IOException
getBMPStream
public java.io.InputStream getBMPStream()
getImage
public java.awt.image.BufferedImage getImage()
Copyright 2017 The Apache Software Foundation or
its licensors, as applicable.