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(java.io.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 java.io.IOException
ZebraImageI from the image specified in bitmapbitmap - - An Android Bitmapjava.io.IOException - when the file could not be found, open, or is an unsupported graphicIllegalArgumentException - when bitmap arg is nullpublic static ZebraImageI getImage(String fullPath) throws java.io.IOException
ZebraImageI from the image specified in fullPathfullPath - the full path of the imagejava.io.IOException - when the file could not be found, open, or is an unsupported graphicIllegalArgumentException - when fullpath arg is nullpublic static ZebraImageI getImage(java.io.InputStream imageData) throws java.io.IOException
ZebraImageI from the image data specified in imageDataimageData - a stream containing the image datajava.io.IOException - when the file could not be found, open, or is an unsupported graphicIllegalArgumentException - when imageData arg is null
© 2017 ZIH Corp. All Rights Reserved.