Esempio n. 1
0
 public void doColorize(Stream stream, WriteableBitmap bitmap, RemedyImage givenImage)
 {
     // Call the colorize function
     rootPage.prepareImage(stream, bitmap, givenImage);
     givenImage.Colorize(blueForColorize, redForColorize, greenForColorize, yellowForColorize,
                                 orangeForColorize, purpleForColorize, cyanForColorize, limeForColorize);
     rootPage.setStream(stream, bitmap, givenImage);
     ColorizeApplyReset.Visibility = Visibility.Visible;
 }