|
| enum | DitherType |
| | dithering algorithm: ATKINSON,BURKES,FLOYD_STEINBERG,JARVIS,SIERRA,STUCKI
|
| |
|
| static Bitmap | bmpToGrayDithering (Bitmap bmp, int threshold, boolean inverse, DitherType type) |
| | Convert a bitmap to gray bitmap by dithering algorithm. More...
|
| |
| static Bitmap | bmpToBlackWhite (Bitmap bmp, int threshold, boolean inverse) |
| | Convert a bitmap to black white bitmap. More...
|
| |
◆ bmpToBlackWhite()
| static Bitmap com.paydevice.smartpos.sdk.ImageUtils.bmpToBlackWhite |
( |
Bitmap |
bmp, |
|
|
int |
threshold, |
|
|
boolean |
inverse |
|
) |
| |
|
static |
Convert a bitmap to black white bitmap.
- Parameters
-
| bmp | android bitmap |
| threshold | black and white threshold |
| inverse | set black and white inverse |
- Returns
◆ bmpToGrayDithering()
| static Bitmap com.paydevice.smartpos.sdk.ImageUtils.bmpToGrayDithering |
( |
Bitmap |
bmp, |
|
|
int |
threshold, |
|
|
boolean |
inverse, |
|
|
DitherType |
type |
|
) |
| |
|
static |
Convert a bitmap to gray bitmap by dithering algorithm.
- Parameters
-
| bmp | android bitmap |
| threshold | dithering threshold |
| inverse | set black and white inverse |
| type | dithering algorithm, DitherType enum |
- Returns
The documentation for this class was generated from the following file: