Skip to content

Commit

Permalink
Update project
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbel committed Nov 2, 2024
1 parent 9f05b73 commit 5130323
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/main/kotlin/org/michaelbel/core/ktx/Bitmap.kt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ fun Bitmap.contrastBitmap(contrast: Float): Bitmap {
0F, 0F, contrast, 0F,
0F, 0F, 0F, 0F,
contrast, 0F, 0F, 0F,
0F, 0F, 1F, 0F)
0F, 0F, 1F, 0F
)

val colorMatrix = ColorMatrix().apply {
setSaturation(0F)
Expand Down

0 comments on commit 5130323

Please sign in to comment.