Ejemplo n.º 1
0
        public void generateImage()
        {
            Bitmap _b = c_ImgGen.createPng(fs, cutouts, new object[] { fs.getDrawnPoints(), null }, trender);

            pb_Pic.Image = _b;


            lbl_Info.Text = "Size: " + _b.Width + "x" + _b.Height + "px | # of layers: " + fs.Limages.Count;
            //_b.Dispose();
        }
Ejemplo n.º 2
0
 public void refreshImage(f_Screen fs)
 {
     pb_PreviewPicture.Image = c_ImgGen.createPng(fs, fs.Limages, new object[] { fs.getDrawnPoints(), null });
     GC.Collect(1);
 }
Ejemplo n.º 3
0
 public void copyImage()
 {
     try
     {
         Bitmap _b = c_ImgGen.createPng(f_EditorScreen, f_EditorScreen.Limages, new object[] { f_EditorScreen.getDrawnPoints(), null });
         Clipboard.SetImage(_b);
     }
     catch
     {
     }
 }