Exemple #1
0
            public void SaveScreenShot(string path, int width, int height, int pitch, IntPtr data, int size,
                                       bool flipVertical)
            {
                var pixmap = new Pixmap(data, width, height);

                pixmap.SaveToFile(path);

                pixmap.Dispose();
            }