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

资源简介

basler相机的c#封装的sdk的一个dll,实现打开关闭等等功能

资源截图

代码片段和文件信息

using System;
using System.Runtime.InteropServices;
using System.Drawing;
using System.Drawing.Imaging;

namespace PylonC.NETSupportLibrary
{
    /* Provides methods for creating and updating bitmaps with raw image data. */
    public static class BitmapFactory
    {
        /* Returns the corresponding pixel format of a bitmap. */
        private static PixelFormat GetFormat(bool color)
        {
            return color ? PixelFormat.Format32bppRgb : PixelFormat.Format8bppIndexed;
        }

        /* Calculates the length of one line in byte. */
        private static int GetStride(int width bool color)
        {
            return color ? width * 4 : width;
        }

        /* Compares the properties of the bitmap with the supplied image data. Returns true if 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2016-12-18 19:31  Pylon.NETSupportLibrary\
     文件        3436  2016-01-06 15:36  Pylon.NETSupportLibrary\BitmapFactory.cs
     文件        2612  2014-12-12 18:08  Pylon.NETSupportLibrary\DeviceEnumerator.cs
     文件        3274  2014-12-12 18:08  Pylon.NETSupportLibrary\EnumerationComboBoxUserControl.Designer.cs
     文件        9485  2014-12-12 18:08  Pylon.NETSupportLibrary\EnumerationComboBoxUserControl.cs
     文件        5814  2014-12-08 16:07  Pylon.NETSupportLibrary\EnumerationComboBoxUserControl.resx
     文件       41835  2016-08-28 14:39  Pylon.NETSupportLibrary\ImageProvider.cs
     文件         815  2016-01-06 15:28  Pylon.NETSupportLibrary\MyDebug.cs
     目录           0  2016-12-18 19:31  Pylon.NETSupportLibrary\Properties\
     文件        1443  2014-12-12 18:08  Pylon.NETSupportLibrary\Properties\AssemblyInfo.cs
     文件        4036  2016-09-04 16:32  Pylon.NETSupportLibrary\Pylon.NETSupportLibrary.csproj
     文件         381  2016-06-04 18:21  Pylon.NETSupportLibrary\Pylon.NETSupportLibrary.csproj.user
     文件        1495  2016-01-06 11:50  Pylon.NETSupportLibrary\Pylon.NETSupportLibrary.sln
     文件        2560  2016-12-18 18:47  Pylon.NETSupportLibrary\Pylon.NETSupportLibrary.suo
     文件       67584  2016-09-04 16:32  Pylon.NETSupportLibrary\Pylon.NETSupportLibrary.v12.suo
     文件        5207  2014-12-12 18:08  Pylon.NETSupportLibrary\SliderUserControl.Designer.cs
     文件       10570  2014-12-12 18:08  Pylon.NETSupportLibrary\SliderUserControl.cs
     文件        5814  2014-12-08 16:07  Pylon.NETSupportLibrary\SliderUserControl.resx
     目录           0  2016-12-18 19:31  Pylon.NETSupportLibrary\obj\
     目录           0  2016-12-18 19:31  Pylon.NETSupportLibrary\obj\Debug\
     文件        5828  2016-12-18 18:42  Pylon.NETSupportLibrary\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件        1605  2016-09-04 16:32  Pylon.NETSupportLibrary\obj\Debug\Pylon.NETSupportLibrary.csproj.FileListAbsolute.txt
     文件         869  2016-09-04 16:32  Pylon.NETSupportLibrary\obj\Debug\Pylon.NETSupportLibrary.csproj.GenerateResource.Cache
     文件         180  2016-09-04 16:32  Pylon.NETSupportLibrary\obj\Debug\PylonC.NETSupportLibrary.EnumerationComboBoxUserControl.resources
     文件         180  2016-09-04 16:32  Pylon.NETSupportLibrary\obj\Debug\PylonC.NETSupportLibrary.SliderUserControl.resources
     文件       30208  2016-09-04 16:32  Pylon.NETSupportLibrary\obj\Debug\PylonC.NETSupportLibrary.dll
     文件       56832  2016-09-04 16:32  Pylon.NETSupportLibrary\obj\Debug\PylonC.NETSupportLibrary.pdb
     目录           0  2017-02-26 12:55  Pylon.NETSupportLibrary\obj\Debug\TempPE\

评论

共有 条评论