Exemplo n.º 1
0
        private void ImageQualityEnhance()
        {
            var builder = new StringBuilder();

            new Thread(() => {
                try
                {
                    foreach (var filePath in SelectedItemPaths)
                    {
                        ImgPro.ImageQualityEnhanceDemo(filePath);
                    }
                    MessageBox.Show("图像处理完成!");
                }catch
                {
                    MessageBox.Show("网络异常!");
                }
            }).Start();
        }
Exemplo n.º 2
0
        private void CompressImageWithSize()
        {
            var builder = new StringBuilder();

            new Thread(() => {
                try
                {
                    foreach (var filePath in SelectedItemPaths)
                    {
                        ImgPro.CompressImageWithSizeDemo(filePath);
                    }
                    MessageBox.Show("图像处理完成!");
                }
                catch
                {
                    MessageBox.Show("网络异常!");
                }
            }).Start();
        }
Exemplo n.º 3
0
        private void transformateIco()
        {
            var builder = new StringBuilder();

            new Thread(() => {
                try
                {
                    foreach (var filePath in SelectedItemPaths)
                    {
                        ImgPro.transformateIcoDemo(filePath);
                    }
                    MessageBox.Show("图像处理完成!");
                }
                catch
                {
                    MessageBox.Show("网络异常!");
                }
            }).Start();
        }