Exemple #1
0
 public Form1()
 {
     InitializeComponent();
     textureIndex = 0;
     gfx          = new GFXLib();
     lut          = new LUTLib();
 }
Exemple #2
0
        void ConvertBPPImage(Bitmap bmpOriginal, ref Bitmap bmpOutput, GFXLib gfx)
        {
            PixelFormat format   = gfx.PixelMode;
            Rectangle   lockRect = new Rectangle(0, 0, bmp.Width, bmp.Height);

            bmpOutput = bmpOriginal.Clone(lockRect, format);
        }