Esempio n. 1
0
 // Change the image with shadow filter applied
 public void doShadow(Stream stream, WriteableBitmap bitmap, RemedyImage givenImage)
 {
     rootPage.prepareImage(stream, bitmap, givenImage);
     givenImage.ColorChange(-80, -80, -80, 0, 0, 0);
     rootPage.setStream(stream, bitmap, givenImage);
 }
Esempio n. 2
0
 // Change the image with crystal filter applied
 public void doCrystal(Stream stream, WriteableBitmap bitmap, RemedyImage givenImage)
 {
     rootPage.prepareImage(stream, bitmap, givenImage);
     givenImage.ColorChange(0, 0, 0, 50, 35, 35);
     rootPage.setStream(stream, bitmap, givenImage);
 }
Esempio n. 3
0
 // Change the image with brighten filter applied
 public void doBrighten(Stream stream, WriteableBitmap bitmap, RemedyImage givenImage)
 {
     rootPage.prepareImage(stream, bitmap, givenImage);
     givenImage.ColorChange(70, 70, 70, 0, 0, 0);
     rootPage.setStream(stream, bitmap, givenImage);
 }