bitmapimage - WPF C# image brightness -


i loaded image bitmapimage.

xaml

<image margin="12,12,16,71" name="imgphoto"> 

code behind

openfiledialog op = new openfiledialog(); op.title = "select picture"; op.filter = "all supported graphics|*.jpg;*.jpeg;*.png|" +                 "jpeg (*.jpg;*.jpeg)|*.jpg;*.jpeg|" +                 "portable network graphic (*.png)|*.png";  if (op.showdialog() == true) {     imgphoto.source = new bitmapimage(new uri(op.filename)); } 

how can change brightness of image?


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -