org.apache.poi.hwmf.record
Class HwmfBitmapDib

java.lang.Object
  extended by 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.


Nested Class Summary
static class HwmfBitmapDib.BitCount
           
static class HwmfBitmapDib.Compression
           
 
Constructor Summary
HwmfBitmapDib()
           
 
Method Summary
 java.io.InputStream getBMPStream()
           
 java.awt.image.BufferedImage getImage()
           
 int init(LittleEndianInputStream leis, int recordSize)
           
protected  int readColors(LittleEndianInputStream leis)
           
protected  int readHeader(LittleEndianInputStream leis)
           
protected  int readRGBQuad(LittleEndianInputStream leis, int count)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HwmfBitmapDib

public HwmfBitmapDib()
Method Detail

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.