• 大小: 0.09M
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签:

资源简介

批量图片格式转换

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Threading;
namespace PictureBatchConversion
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        string[] path1=null;                 //用于存储选择的文件列表
        string path2=““;                    //用于存储保存的路径
        Bitmap bt;                          //声明一个转换图片格式的Bitmap对象
        Thread td;                          //声明一个线程
        int Imgtype1;                       //声明一个变量用于标记ConvertImage方法中转换的类型
        string OlePath;                     //声明一个变量用于存储ConvertImage方法中原始图片的路径
  

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-01-14 13:22  批量图片格式转换\
     目录           0  2013-01-14 13:23  批量图片格式转换\PictureBatchConversion\
     文件         956  2008-09-20 12:55  批量图片格式转换\PictureBatchConversion.sln
     目录           0  2013-01-14 13:23  批量图片格式转换\PictureBatchConversion\bin\
     目录           0  2013-01-14 13:23  批量图片格式转换\PictureBatchConversion\bin\Debug\
     文件       29696  2009-01-14 11:23  批量图片格式转换\PictureBatchConversion\bin\Debug\PictureBatchConversion.exe
     文件       44544  2009-01-14 11:23  批量图片格式转换\PictureBatchConversion\bin\Debug\PictureBatchConversion.pdb
     文件       14328  2009-01-14 11:23  批量图片格式转换\PictureBatchConversion\bin\Debug\PictureBatchConversion.vshost.exe
     文件       12631  2009-01-14 11:23  批量图片格式转换\PictureBatchConversion\Form1.cs
     文件       17570  2009-01-14 11:23  批量图片格式转换\PictureBatchConversion\Form1.Designer.cs
     文件       10445  2008-12-26 15:46  批量图片格式转换\PictureBatchConversion\Form1.resx
     目录           0  2013-01-14 13:23  批量图片格式转换\PictureBatchConversion\obj\
     目录           0  2013-01-14 13:23  批量图片格式转换\PictureBatchConversion\obj\Debug\
     文件        3631  2009-01-14 11:23  批量图片格式转换\PictureBatchConversion\obj\Debug\PictureBatchConversion.csproj.FileListAbsolute.txt
     文件        1169  2009-01-14 11:23  批量图片格式转换\PictureBatchConversion\obj\Debug\PictureBatchConversion.csproj.GenerateResource.Cache
     文件       29696  2009-01-14 11:23  批量图片格式转换\PictureBatchConversion\obj\Debug\PictureBatchConversion.exe
     文件        2906  2009-01-14 11:23  批量图片格式转换\PictureBatchConversion\obj\Debug\PictureBatchConversion.Form1.resources
     文件        2906  2008-12-26 15:46  批量图片格式转换\PictureBatchConversion\obj\Debug\PictureBatchConversion.Form2.resources
     文件       44544  2009-01-14 11:23  批量图片格式转换\PictureBatchConversion\obj\Debug\PictureBatchConversion.pdb
     文件        7733  2009-01-14 11:23  批量图片格式转换\PictureBatchConversion\obj\Debug\PictureBatchConversion.Properties.Resources.resources
     目录           0  2012-05-02 09:51  批量图片格式转换\PictureBatchConversion\obj\Debug\Refactor\
     目录           0  2013-01-14 13:23  批量图片格式转换\PictureBatchConversion\obj\Debug\TempPE\
     文件        5632  2008-09-20 14:12  批量图片格式转换\PictureBatchConversion\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
     文件        4476  2009-01-14 11:23  批量图片格式转换\PictureBatchConversion\PictureBatchConversion.csproj
     文件         503  2009-01-14 11:23  批量图片格式转换\PictureBatchConversion\Program.cs
     目录           0  2013-01-14 13:23  批量图片格式转换\PictureBatchConversion\Properties\
     文件        1404  2008-12-24 14:18  批量图片格式转换\PictureBatchConversion\Properties\AssemblyInfo.cs
     文件        4414  2008-09-20 14:12  批量图片格式转换\PictureBatchConversion\Properties\Resources.Designer.cs
     文件        7453  2008-09-20 14:12  批量图片格式转换\PictureBatchConversion\Properties\Resources.resx
     文件        1107  2008-09-20 12:55  批量图片格式转换\PictureBatchConversion\Properties\Settings.Designer.cs
     文件         249  2008-09-20 12:55  批量图片格式转换\PictureBatchConversion\Properties\Settings.settings
............此处省略9个文件信息

评论

共有 条评论