[android-components](../../index.md) / [mozilla.components.support.ktx.android.graphics](../index.md) / [android.graphics.Bitmap](./index.md)

### Extensions for android.graphics.Bitmap

| Name | Summary |
|---|---|
| [arePixelsAllTheSame](are-pixels-all-the-same.md) | `fun `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)`.arePixelsAllTheSame(): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)<br>Returns true if all pixels have the same value, false otherwise. |
| [toDataUri](to-data-uri.md) | `fun `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)`.toDataUri(): `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>Transform bitmap into base64 encoded data uri (PNG). |
| [withRoundedCorners](with-rounded-corners.md) | `fun `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)`.withRoundedCorners(cornerRadiusPx: `[`Float`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html)`): `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)<br>Returns a new bitmap that is the receiver Bitmap with four rounded corners; the receiver is unmodified. |
