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
Post a Comment