1. <strong id="7actg"></strong>
    2. <table id="7actg"></table>

    3. <address id="7actg"></address>
      <address id="7actg"></address>
      1. <object id="7actg"><tt id="7actg"></tt></object>

        ExifLib.NET的Exif讀取庫(kù)

        聯(lián)合創(chuàng)作 · 2023-09-29 17:18

        ExifLib 簡(jiǎn)化了 .NET 應(yīng)用讀取圖片 EXIF 標(biāo)簽數(shù)據(jù)的過(guò)程。

        示例代碼:

        using ExifLib;
        ...
        ...
        ...
        // Instantiate the reader
        ExifReader reader = new ExifReader(@"C:\temp\testImage.jpg");
        
        // Extract the tag data using the ExifTags enumeration
        DateTime datePictureTaken;
        if (reader.GetTagValue<DateTime>(ExifTags.DateTimeDigitized, 
                                            out datePictureTaken))
        {
            // Do whatever is required with the extracted information
            MessageBox.Show(this, string.Format("The picture was taken on {0}", 
               datePictureTaken), "Image information", MessageBoxButtons.OK);
        }

        ExifLib 也可通過(guò) NuGet 獲取。

        瀏覽 30
        點(diǎn)贊
        評(píng)論
        收藏
        分享

        手機(jī)掃一掃分享

        編輯 分享
        舉報(bào)
        評(píng)論
        圖片
        表情
        推薦
        點(diǎn)贊
        評(píng)論
        收藏
        分享

        手機(jī)掃一掃分享

        編輯 分享
        舉報(bào)
        1. <strong id="7actg"></strong>
        2. <table id="7actg"></table>

        3. <address id="7actg"></address>
          <address id="7actg"></address>
          1. <object id="7actg"><tt id="7actg"></tt></object>
            黄色爱爱网站 | 强开乳罩摸双乳吃奶小说 | 皇后高h喷水荡肉np | 人人添| 国产av一区二区三区 | 用力挺进她的花苞啊h视频 | 99久久久无码国产精品 | 亚洲中文字幕网站 | 国产精品视频免费丝袜 | 亚洲精品图 |