需要一个代码来改变图像的亮度和对比度. [英] Need a code to alter brightness and contrast of an image .

查看:92
本文介绍了需要一个代码来改变图像的亮度和对比度.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在开发像应用程序的油漆刷.到目前为止,我可以将图像显示到视图中,现在我想要的是我创建了一个dilaog框,其中有两个针对按钮单击事件的亮度和对比度的滑块控件,现在我想做的就是每当我滑过控件的不良效果也应反映在图像中.
因此,有人可以帮我解决同样的问题.

感谢

解决方案

用于调整亮度和亮度的图像预览对话框对比 [ ^ ]

Hi all ,

i am developing a paint brush like app. so far i can get an image into a view , now what i want is that i have created a dilaog box in which i have two slider controls against brightness and contrast on a button click event , now what i want to do is that whenever i slide thru the control dersired effects should also be reflected in the image .
Thus ,can somebody help me out with that how to write code for the same .

Thanks

解决方案

An image preview dialog for adjusting brightness and contrast[^]


这篇关于需要一个代码来改变图像的亮度和对比度.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆