public class BitmapToByteData
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BitmapToByteData.BmpType |
| Constructor and Description |
|---|
BitmapToByteData() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
downLoadBmpToSendData(android.graphics.Bitmap mBitmap,
BitmapToByteData.BmpType bmpType)
Convert bitmap into byte [] and can be sent directly to the printer, and it is only a static method in this class
For the use of definition download bitmaps instruction
|
static byte[] |
downLoadBmpToSendTSCData(android.graphics.Bitmap mBitmap,
BitmapToByteData.BmpType bmpType)
Convert bitmap into byte [] and can be sent directly to the printer, and it is only a static method in this class
provide TSC to dowload bitmap date for send
|
static byte[] |
flashBmpToSendData(android.graphics.Bitmap mBitmap,
BitmapToByteData.BmpType bmpType)
Convert bitmap into byte [] and can be sent directly to the printer, and it is only a static method in this class
provide to dowload Flash bitmap
|
static byte[] |
rasterBmpToSendData(int m,
android.graphics.Bitmap mBitmap,
BitmapToByteData.BmpType bmpType)
Convert bitmap into byte [] and can be sent directly to the printer, and it is only a static method in this class
provide to printer to printe the raster bitmap
|
public static byte[] rasterBmpToSendData(int m,
android.graphics.Bitmap mBitmap,
BitmapToByteData.BmpType bmpType)
mBitmap - BitmapbmpType - The algorithm of bitmap processing typepublic static byte[] flashBmpToSendData(android.graphics.Bitmap mBitmap,
BitmapToByteData.BmpType bmpType)
mBitmap - Bitmap objectbmpType - The algorithm of bitmap processing typepublic static byte[] downLoadBmpToSendTSCData(android.graphics.Bitmap mBitmap,
BitmapToByteData.BmpType bmpType)
mBitmap - Bitmap objectbmpType - The algorithm of bitmap processing typepublic static byte[] downLoadBmpToSendData(android.graphics.Bitmap mBitmap,
BitmapToByteData.BmpType bmpType)
mBitmap - Bitmap objectbmpType - The algorithm of bitmap processing type