com.aspose.metafiles
Class EmbeddedBitmap

java.lang.Object
  extended by com.aspose.metafiles.EmbeddedBitmap

public class EmbeddedBitmap
extends java.lang.Object

Represents a BMP image embedded to a metafile.


Method Summary
 byte[] getBinaryData()
          Creates and returns an array of bytes, containing data of image.
 java.awt.image.BufferedImage getImage()
          Creates and returns a copy of the image.
 void write(java.io.OutputStream stream)
          Writes bitmap to the specified stream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBinaryData

public byte[] getBinaryData()
Creates and returns an array of bytes, containing data of image.


getImage

public java.awt.image.BufferedImage getImage()
Creates and returns a copy of the image.


write

public void write(java.io.OutputStream stream)
           throws java.io.IOException
Writes bitmap to the specified stream.

Parameters:
stream - - target stream.
Throws:
java.io.IOException