List of usage examples for android.graphics Bitmap isPremultiplied
public final boolean isPremultiplied()
Indicates whether pixels stored in this bitmaps are stored pre-multiplied.
From source file:Main.java
@TargetApi(19) private static void setPremultiplied(Bitmap bitmap) { if (Build.VERSION.SDK_INT >= 19 && !bitmap.isPremultiplied()) bitmap.setPremultiplied(true);/*from www .ja v a 2 s . co m*/ }