How to programmatically change contrast of a bitmap in android?

前端 未结 8 2047
眼角桃花
眼角桃花 2020-12-02 17:35

I want to programmatically change the contrast of bitmap. Till now I have tried this.

private Bitmap adjustedContrast(Bitmap src, double value)
    {
                


        
8条回答
  •  广开言路
    2020-12-02 18:08

    http://android.okhelp.cz/bitmap-set-contrast-and-brightness-android/

    have a look at this ,this might solve your problem

提交回复
热议问题