BoringHeroes.ScreenReader.ChangePixelFormat C# (CSharp) Method

ChangePixelFormat() private static method

private static ChangePixelFormat ( Bitmap inputImage, PixelFormat newFormat ) : Bitmap
inputImage System.Drawing.Bitmap
newFormat PixelFormat
return System.Drawing.Bitmap
        private static Bitmap ChangePixelFormat(Bitmap inputImage, PixelFormat newFormat)
        {
            return (inputImage.Clone(new Rectangle(0, 0, inputImage.Width, inputImage.Height), newFormat));
        }