// show image on the window
 private void showImage(string filename)
 {
     originalImage        = ImageConvertor.FilenameToImage(filename);
     originalImageBytes   = ImageConvertor.ImageToByteArray(filename);
     originalPanel.Source = originalImage;
     W = (int)originalImage.PixelHeight;
     H = (int)originalImage.PixelWidth;
     ImageProcessing.setHeightAndLength(W, H);
 }
Ejemplo n.º 2
0
 // show image on the window
 private void showImage(string filename)
 {
     originalImage        = ImageConvertor.FilenameToImage(filename);
     originalImageBytes   = ImageConvertor.ImageToByteArray(filename);
     originalPanel.Source = originalImage;
 }