How to programmatically change contrast of a bitmap in android?

前端 未结 8 2036
眼角桃花
眼角桃花 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:18

    Maybe you can try this one:

    http://xjaphx.wordpress.com/2011/06/21/image-processing-contrast-image-on-the-fly/

    Hope that helps! :)

提交回复
热议问题