Image img = Image.FromFile(openDialog.FileName); double fileWidth = img.Width; double fileheigth = img.Height; double fileByte = (((fileWidth) * (fileheigth))/1024); label2.Text = "Image Size: " + fileByte.ToString() + " KB";
count_ratio = newPixelCount/oldPixelCount
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)