Пример #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);
 }
Пример #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);
 }
Пример #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);
 }