|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.freehep.graphicsio.emf.EMFImageLoader
public class EMFImageLoader
this class creates a BufferedImage from EMF imaga data stored in a byte[].
Constructor Summary | |
---|---|
EMFImageLoader()
|
Method Summary | |
---|---|
static java.awt.image.BufferedImage |
readImage(BitmapInfoHeader bmi,
int width,
int height,
EMFInputStream emf,
int len,
BlendFunction blendFunction)
creates a BufferedImage from an EMFInputStream using BitmapInfoHeader data |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EMFImageLoader()
Method Detail |
---|
public static java.awt.image.BufferedImage readImage(BitmapInfoHeader bmi, int width, int height, EMFInputStream emf, int len, BlendFunction blendFunction) throws java.io.IOException
bmi
- BitmapInfoHeader storing Bitmap informationswidth
- expected image widthheight
- expected image heightemf
- EMF streamlen
- length of image datablendFunction
- contains values for transparency
java.io.IOException
- thrown by EMFInputStream
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |