资源简介

C#读取TIF格式的图像,包括读取TIF格式图像的头文件、图像数据部分等。

资源截图

代码片段和文件信息

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;

namespace FileRead
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void OpenToolStripMenuItem_Click(object sender EventArgs e)
        {
            OpenFileDialog open = new OpenFileDialog();
            open.Filter = “*.tif文件|*.tif|所有文件|*.*“;

            if (open.ShowDialog() != DialogResult.OK)
            {
                return;
            }
            if (open.FileName == null)
            {
                return;
            }
            string pathsource = open.FileName;

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      11776  2012-04-19 16:26  CSharp read tiff\FileRead\bin\Debug\FileRead.exe

     文件      42496  2012-04-19 16:26  CSharp read tiff\FileRead\bin\Debug\FileRead.pdb

     文件      14328  2012-04-19 16:34  CSharp read tiff\FileRead\bin\Debug\FileRead.vshost.exe

     文件        490  2009-06-11 05:14  CSharp read tiff\FileRead\bin\Debug\FileRead.vshost.exe.manifest

     文件       3802  2012-04-19 16:26  CSharp read tiff\FileRead\FileRead.csproj

    ..A..H.      7168  2012-04-19 16:34  CSharp read tiff\FileRead\FileReadPro.suo

     文件       1417  2012-04-19 16:26  CSharp read tiff\FileRead\Form1.cs

     文件       5921  2011-10-10 20:45  CSharp read tiff\FileRead\Form1.Designer.cs

     文件       6012  2011-10-10 20:45  CSharp read tiff\FileRead\Form1.resx

     文件        411  2011-10-02 08:47  CSharp read tiff\FileRead\Helper.cs

     文件       2269  2012-04-19 16:34  CSharp read tiff\FileRead\obj\Debug\FileRead.csproj.FileListAbsolute.txt

     文件        847  2011-10-10 20:45  CSharp read tiff\FileRead\obj\Debug\FileRead.csproj.GenerateResource.Cache

     文件      11776  2012-04-19 16:26  CSharp read tiff\FileRead\obj\Debug\FileRead.exe

     文件        180  2012-04-19 16:26  CSharp read tiff\FileRead\obj\Debug\FileRead.Form1.resources

     文件      42496  2012-04-19 16:26  CSharp read tiff\FileRead\obj\Debug\FileRead.pdb

     文件        180  2012-04-19 16:26  CSharp read tiff\FileRead\obj\Debug\FileRead.Properties.Resources.resources

     文件        489  2011-10-02 08:35  CSharp read tiff\FileRead\Program.cs

     文件       1366  2011-10-02 08:35  CSharp read tiff\FileRead\Properties\AssemblyInfo.cs

     文件       2866  2011-10-02 08:35  CSharp read tiff\FileRead\Properties\Resources.Designer.cs

     文件       5612  2011-10-02 08:35  CSharp read tiff\FileRead\Properties\Resources.resx

     文件       1093  2011-10-02 08:35  CSharp read tiff\FileRead\Properties\Settings.Designer.cs

     文件        249  2011-10-02 08:35  CSharp read tiff\FileRead\Properties\Settings.settings

     文件       5280  2011-10-16 21:22  CSharp read tiff\FileRead\ReadTIF.cs

     文件        914  2011-10-02 08:35  CSharp read tiff\FileReadPro.sln

    ..A..H.     20480  2012-04-19 16:34  CSharp read tiff\FileReadPro.suo

     目录          0  2011-10-02 08:40  CSharp read tiff\FileRead\obj\Debug\Refactor

     目录          0  2011-10-02 08:35  CSharp read tiff\FileRead\obj\Debug\TempPE

     目录          0  2012-04-19 16:34  CSharp read tiff\FileRead\bin\Debug

     目录          0  2012-04-19 16:26  CSharp read tiff\FileRead\obj\Debug

     目录          0  2012-04-19 16:26  CSharp read tiff\FileRead\bin

............此处省略7个文件信息

评论

共有 条评论