public class ZebraImageFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static ZebraImageI |
getImage(android.graphics.Bitmap bitmap)
Creates an instance of
ZebraImageI from the image specified in bitmap |
static ZebraImageI |
getImage(InputStream imageData)
Creates an instance of
ZebraImageI from the image data specified in imageData |
static ZebraImageI |
getImage(String fullPath)
Creates an instance of
ZebraImageI from the image specified in fullPath |
public static ZebraImageI getImage(android.graphics.Bitmap bitmap) throws IOException
ZebraImageI from the image specified in bitmapbitmap - - An Android BitmapIOException - when the file could not be found, open, or is an unsupported graphicIllegalArgumentException - when bitmap arg is nullpublic static ZebraImageI getImage(String fullPath) throws IOException
ZebraImageI from the image specified in fullPathfullPath - the full path of the imageIOException - when the file could not be found, open, or is an unsupported graphicIllegalArgumentException - when fullpath arg is nullpublic static ZebraImageI getImage(InputStream imageData) throws IOException
ZebraImageI from the image data specified in imageDataimageData - a stream containing the image dataIOException - when the file could not be found, open, or is an unsupported graphicIllegalArgumentException - when imageData arg is null
© 2015 ZIH Corp. All Rights Reserved.