예제 #1
0
 internal uint TatPreview(int x, int y, uint pixel)
 {
     return(PixelBangers.TatPreview(pixel, new byte[3] {
         bgColor.Red, bgColor.Green, bgColor.Blue
     },
                                    presets[currentPreset].rChannelColor, presets[currentPreset].gChannelColor,
                                    presets[currentPreset].bChannelColor, presets[currentPreset].aChannelColor));
 }
예제 #2
0
 internal uint AdjustColors(int x, int y, uint pixel)
 {
     return(PixelBangers.BrightnessContrast(pixel, brightTrackbarValue, contrastTrackbarValue, updateChannels));
 }
예제 #3
0
 internal uint TatPreview(int x, int y, uint pixel)
 {
     return(PixelBangers.TatPreview(pixel, rgb, preR, preG, preB, preA));
 }
예제 #4
0
 internal uint AdjustColors(int x, int y, uint pixel)
 {
     return(PixelBangers.BrightnessContrast(pixel, purifyOptions.Brightness, purifyOptions.Contrast, purifyOptions.ActiveChannels));
 }