public class EMFImageLoader extends Object
| Constructor and Description |
|---|
EMFImageLoader() |
| Modifier and Type | Method and Description |
|---|---|
static BufferedImage |
readImage(BitmapInfoHeader bmi,
int width,
int height,
EMFInputStream emf,
int len,
BlendFunction blendFunction)
creates a BufferedImage from an EMFInputStream using
BitmapInfoHeader data
|
public static BufferedImage readImage(BitmapInfoHeader bmi, int width, int height, EMFInputStream emf, int len, BlendFunction blendFunction) throws IOException
bmi - BitmapInfoHeader storing Bitmap informationswidth - expected image widthheight - expected image heightemf - EMF streamlen - length of image datablendFunction - contains values for transparencyIOException - thrown by EMFInputStreamCopyright © 2014. All rights reserved.