예제 #1
0
 public static Color ToSepia(this Utilitats.V2.Color pixel)
 {
     return(ToSepia(pixel.Red, pixel.Green, pixel.Blue));
 }
예제 #2
0
 public static Color Mezclar(this Utilitats.V2.Color pixel1, Utilitats.V2.Color pixel2)
 {
     return(MezclaPixels(pixel1.Red, pixel1.Green, pixel1.Blue, pixel1.Alfa, pixel2.Red, pixel2.Green, pixel2.Blue, pixel2.Alfa));
 }
예제 #3
0
 public static Color ToInverted(this Utilitats.V2.Color pixel)
 {
     return(ToInverted((byte)(255 - pixel.Red), (byte)(255 - pixel.Green), (byte)(255 - pixel.Blue)));
 }
예제 #4
0
 public static Color ToEscalaGrises(this Utilitats.V2.Color pixel)
 {
     return(ToGrayScale(pixel.Red, pixel.Green, pixel.Blue));
 }
예제 #5
0
 public static Color ToGreen(this Utilitats.V2.Color pixel)
 {
     return(ToGreen(0, pixel.Green, 0));
 }
예제 #6
0
 public static Color ToBlue(this Utilitats.V2.Color pixel)
 {
     return(ToBlue(0, 0, pixel.Blue));
 }
예제 #7
0
 public static Color ToRed(this Utilitats.V2.Color pixel)
 {
     return(ToRed(pixel.Red, 0, 0));
 }