Exemplo n.º 1
0
 internal void Dither()
 {
     if (!m_bAutoMode)
     {
         bmpOutput = m_Controller.Dither();
         m_frmMain.tlImageHistory.AddElement(new Bitmap(1, 1), "Dither");
     }
     else if (m_bAutoMode)
     {
         List <object> ArgList = new List <object>();
         m_Controller.Automation_AddOperation(Constants.Operations.Dither, ArgList);
         m_frmMain.tlAutomationActions.AddElement(new Bitmap(1, 1), "Dither");
     }
 }
Exemplo n.º 2
0
 internal void Dither()
 {
     if (m_frmMain.rbDoSingle.Checked)
     {
         bmpOutput = m_Controller.Dither();
     }
     else if (m_frmMain.rbAddToAuto.Checked)
     {
         List <object> ArgList = new List <object>();
         m_Controller.Automation_AddOperation(Constants.Operations.Dither, ArgList);
     }
     else if (m_frmMain.rbBatch.Checked)
     {
         List <object> ArgList = new List <object>();
         bmpOutput = m_Controller.BatchOp(Constants.Operations.Dither, ArgList);
     }
 }