(int color, final Bitmap bitmap)
| 256 | } |
| 257 | |
| 258 | public static Bitmap colorToAlpha(int color, final Bitmap bitmap) |
| 259 | { |
| 260 | if(bitmap == null) |
| 261 | return null; |
| 262 | |
| 263 | Bitmap result = bitmap.copy(Bitmap.Config.ARGB_8888, true); |
| 264 | nativeColorToAlpha(color, bitmap, result); |
| 265 | return result; |
| 266 | } |
| 267 | |
| 268 | public static Bitmap selectContiguousRegionByColor(Bitmap image, int color, SelectCriterion criterion, |
| 269 | float threshold, boolean antialias, boolean select_transparent) |
nothing calls this directly
no test coverage detected