c# Image PropertyItems (Metadate) 你如何知道哪个数字是哪个属性?

2024-01-08

我知道 Image.PropertyItems 数组保存有关加载图像的所有元数据信息。

BUT

你怎么知道例如ID = 20736 是例如的值每张幻灯片的 GIF 时间?

是否有所有已知 ID 的列表或其他内容? 我还没有找到任何东西。

此致


是的,有一个列表in http://msdn.microsoft.com/de-de/library/ms534418.aspx the http://msdn.microsoft.com/de-de/library/ms534417.aspx 文档 http://msdn.microsoft.com/en-us/library/system.drawing.imaging.propertyitem.id.aspx:

ID     | Property tag
-------+-----------------
0x0000 | GpsVer
0x0001 | GpsLatitudeRef
0x0002 | GpsLatitude
0x0003 | GpsLongitudeRef
0x0004 | GpsLongitude
0x0005 | GpsAltitudeRef
0x0006 | GpsAltitude
0x0007 | GpsGpsTime
0x0008 | GpsGpsSatellites
0x0009 | GpsGpsStatus
0x000A | GpsGpsMeasureMode
0x000B | GpsGpsDop
0x000C | GpsSpeedRef
0x000D | GpsSpeed
0x000E | GpsTrackRef
0x000F | GpsTrack
0x0010 | GpsImgDirRef
0x0011 | GpsImgDir
0x0012 | GpsMapDatum
0x0013 | GpsDestLatRef
0x0014 | GpsDestLat
0x0015 | GpsDestLongRef
0x0016 | GpsDestLong
0x0017 | GpsDestBearRef
0x0018 | GpsDestBear
0x0019 | GpsDestDistRef
0x001A | GpsDestDist
0x00FE | NewSubfileType
0x00FF | SubfileType
0x0100 | ImageWidth
0x0101 | ImageHeight
0x0102 | BitsPerSample
0x0103 | Compression
0x0106 | PhotometricInterp
0x0107 | ThreshHolding
0x0108 | CellWidth
0x0109 | CellHeight
0x010A | FillOrder
0x010D | DocumentName
0x010E | ImageDescription
0x010F | EquipMake
0x0110 | EquipModel
0x0111 | StripOffsets
0x0112 | Orientation
0x0115 | SamplesPerPixel
0x0116 | RowsPerStrip
0x0117 | StripBytesCount
0x0118 | MinSampleValue
0x0119 | MaxSampleValue
0x011A | XResolution
0x011B | YResolution
0x011C | PlanarConfig
0x011D | PageName
0x011E | XPosition
0x011F | YPosition
0x0120 | FreeOffset
0x0121 | FreeByteCounts
0x0122 | GrayResponseUnit
0x0123 | GrayResponseCurve
0x0124 | T4Option
0x0125 | T6Option
0x0128 | ResolutionUnit
0x0129 | PageNumber
0x012D | TransferFunction
0x0131 | SoftwareUsed
0x0132 | DateTime
0x013B | Artist
0x013C | HostComputer
0x013D | Predictor
0x013E | WhitePoint
0x013F | PrimaryChromaticities
0x0140 | ColorMap
0x0141 | HalftoneHints
0x0142 | TileWidth
0x0143 | TileLength
0x0144 | TileOffset
0x0145 | TileByteCounts
0x014C | InkSet
0x014D | InkNames
0x014E | NumberOfInks
0x0150 | DotRange
0x0151 | TargetPrinter
0x0152 | ExtraSamples
0x0153 | SampleFormat
0x0154 | SMinSampleValue
0x0155 | SMaxSampleValue
0x0156 | TransferRange
0x0200 | JPEGProc
0x0201 | JPEGInterFormat
0x0202 | JPEGInterLength
0x0203 | JPEGRestartInterval
0x0205 | JPEGLosslessPredictors
0x0206 | JPEGPointTransforms
0x0207 | JPEGQTables
0x0208 | JPEGDCTables
0x0209 | JPEGACTables
0x0211 | YCbCrCoefficients
0x0212 | YCbCrSubsampling
0x0213 | YCbCrPositioning
0x0214 | REFBlackWhite
0x0301 | Gamma
0x0302 | ICCProfileDescriptor
0x0303 | SRGBRenderingIntent
0x0320 | ImageTitle
0x5001 | ResolutionXUnit
0x5002 | ResolutionYUnit
0x5003 | ResolutionXLengthUnit
0x5004 | ResolutionYLengthUnit
0x5005 | PrintFlags
0x5006 | PrintFlagsVersion
0x5007 | PrintFlagsCrop
0x5008 | PrintFlagsBleedWidth
0x5009 | PrintFlagsBleedWidthScale
0x500A | HalftoneLPI
0x500B | HalftoneLPIUnit
0x500C | HalftoneDegree
0x500D | HalftoneShape
0x500E | HalftoneMisc
0x500F | HalftoneScreen
0x5010 | JPEGQuality
0x5011 | GridSize
0x5012 | ThumbnailFormat
0x5013 | ThumbnailWidth
0x5014 | ThumbnailHeight
0x5015 | ThumbnailColorDepth
0x5016 | ThumbnailPlanes
0x5017 | ThumbnailRawBytes
0x5018 | ThumbnailSize
0x5019 | ThumbnailCompressedSize
0x501A | ColorTransferFunction
0x501B | ThumbnailData
0x5020 | ThumbnailImageWidth
0x5021 | ThumbnailImageHeight
0x5022 | ThumbnailBitsPerSample
0x5023 | ThumbnailCompression
0x5024 | ThumbnailPhotometricInterp
0x5025 | ThumbnailImageDescription
0x5026 | ThumbnailEquipMake
0x5027 | ThumbnailEquipModel
0x5028 | ThumbnailStripOffsets
0x5029 | ThumbnailOrientation
0x502A | ThumbnailSamplesPerPixel
0x502B | ThumbnailRowsPerStrip
0x502C | ThumbnailStripBytesCount
0x502D | ThumbnailResolutionX
0x502E | ThumbnailResolutionY
0x502F | ThumbnailPlanarConfig
0x5030 | ThumbnailResolutionUnit
0x5031 | ThumbnailTransferFunction
0x5032 | ThumbnailSoftwareUsed
0x5033 | ThumbnailDateTime
0x5034 | ThumbnailArtist
0x5035 | ThumbnailWhitePoint
0x5036 | ThumbnailPrimaryChromaticities
0x5037 | ThumbnailYCbCrCoefficients
0x5038 | ThumbnailYCbCrSubsampling
0x5039 | ThumbnailYCbCrPositioning
0x503A | ThumbnailRefBlackWhite
0x503B | ThumbnailCopyRight
0x5090 | LuminanceTable
0x5091 | ChrominanceTable
0x5100 | FrameDelay
0x5101 | LoopCount
0x5102 | GlobalPalette
0x5103 | IndexBackground
0x5104 | IndexTransparent
0x5110 | PixelUnit
0x5111 | PixelPerUnitX
0x5112 | PixelPerUnitY
0x5113 | PaletteHistogram
0x8298 | Copyright
0x829A | ExifExposureTime
0x829D | ExifFNumber
0x8769 | ExifIFD
0x8773 | ICCProfile
0x8822 | ExifExposureProg
0x8824 | ExifSpectralSense
0x8825 | GpsIFD
0x8827 | ExifISOSpeed
0x8828 | ExifOECF
0x9000 | ExifVer
0x9003 | ExifDTOrig
0x9004 | ExifDTDigitized
0x9101 | ExifCompConfig
0x9102 | ExifCompBPP
0x9201 | ExifShutterSpeed
0x9202 | ExifAperture
0x9203 | ExifBrightness
0x9204 | ExifExposureBias
0x9205 | ExifMaxAperture
0x9206 | ExifSubjectDist
0x9207 | ExifMeteringMode
0x9208 | ExifLightSource
0x9209 | ExifFlash
0x920A | ExifFocalLength
0x927C | ExifMakerNote
0x9286 | ExifUserComment
0x9290 | ExifDTSubsec
0x9291 | ExifDTOrigSS
0x9292 | ExifDTDigSS
0xA000 | ExifFPXVer
0xA001 | ExifColorSpace
0xA002 | ExifPixXDim
0xA003 | ExifPixYDim
0xA004 | ExifRelatedWav
0xA005 | ExifInterop
0xA20B | ExifFlashEnergy
0xA20C | ExifSpatialFR
0xA20E | ExifFocalXRes
0xA20F | ExifFocalYRes
0xA210 | ExifFocalResUnit
0xA214 | ExifSubjectLoc
0xA215 | ExifExposureIndex
0xA217 | ExifSensingMethod
0xA300 | ExifFileSource
0xA301 | ExifSceneType
0xA302 | ExifCfaPattern

文档中也详细描述了每个标签:http://msdn.microsoft.com/de-de/library/ms534416.aspx http://msdn.microsoft.com/de-de/library/ms534416.aspx

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

c# Image PropertyItems (Metadate) 你如何知道哪个数字是哪个属性? 的相关文章

  • 将 new 与 decltype 一起使用

    T t T is an implementation detail t new T want to avoid naming T to allow for flexibility t new decltype t error cannot
  • Poco c++Net:Http 从响应中获取标头

    我使用 POCO C Net 库进行 http 我想尝试制定持久缓存策略 首先 我认为我需要从缓存标头中获取过期时间 并与缓存值进行交叉检查 如果我错了 请告诉我 那么我如何从中提取缓存头httpResponse 我已经看到你可以用 Jav
  • 如何在另一个应用程序中挂钩 api 调用

    我正在尝试挂钩另一个应用程序的 ExtTextOut 和 DrawTextExt GDI 方法调用 我知道我需要使用 GetProcAddress 来查找 gdi32 dll 中那些方法的地址 并用我的函数的地址覆盖我想要挂钩的进程中的地址
  • 在现代 C++ 中,临时生命周期延长何时有用?

    在 C 中 您可以将函数的返回值 返回值 而不是引用 绑定到 const 引用 并且代码仍然有效 因为该临时对象的生命周期将延长到作用域末尾 例如 std string get string return abc void f const
  • linq 中使用字符串数组 c# 的 'orderby'

    假设我有一个这样的方法定义 public CustomerOrderData GetCustomerOrderData string CustomerIDs var query from a in db Customer join b in
  • CSharpRepl emacs 集成?

    我碰巧知道莫诺CSharpRepl http www mono project com CsharpRepl 是否有 emacs csharp 模式使用它在一个窗口中运行 REPL 并像 python 模式一样在另一个窗口中编译 运行 C
  • Gwan C#,如何获取HTTP标头?

    我需要它来重写 url 以了解我正在处理哪个友好的 url 用于用户代理和其他东西 EDIT public class Gwan MethodImplAttribute MethodImplOptions InternalCall exte
  • 一元 +/- 运算符如何可能导致“-a”或“+a”中的整数提升,“a”是算术数据类型常量/变量?

    这句看似微不足道的台词摘自我的迈克 巴纳汉和布雷迪的 C 书 第 2 8 8 2 节 http publications gbdirect co uk c book chapter2 expressions and arithmetic h
  • 在 omp 并行 for 循环中使用 unique_ptr 会导致 SEG.FAULT

    采取以下代码 include
  • C# 开源 NMEA 解析器 [已关闭]

    Closed 这个问题正在寻求书籍 工具 软件库等的推荐 不满足堆栈溢出指南 help closed questions 目前不接受答案 我正在寻找 C 开源 NMEA 解析器 嗯 我自己也不熟悉 但是一些快速搜索显示了一个代码项目 htt
  • 使用 C# 和 wpf 创建类似 Dock 的应用程序

    我需要创建一个与我们购买笔记本电脑时获得的应用程序类似的应用程序 仅当鼠标指针到达窗口顶部时它才可见 那么我怎样才能使用 C 4 0 来做到这一点呢 http www notebookcheck net uploads pics win2
  • C#6 中的长字符串插值行

    我发现 虽然字符串插值在应用于现有代码库的字符串 Format 调用时非常好 但考虑到通常首选的列限制 字符串对于单行来说很快就会变得太长 特别是当被插值的表达式很复杂时 使用格式字符串 您将获得一个可以拆分为多行的变量列表 var str
  • 从BackgroundWorker线程更新图像UI属性

    在我正在编写的 WPF 应用程序中 我有一个 TransformedBitmap 属性 该属性绑定到 UI 上的 Image 对象 每当我更改此属性时 图像就会更新 因此显示在屏幕上的图像也会更新 为了防止在检索下一张图像时 UI 冻结或变
  • .NET 4 的条件编译[重复]

    这个问题在这里已经有答案了 可能的重复 条件编译和框架目标 https stackoverflow com questions 2923210 c sharp conditional compilation and framework ta
  • CUDA 8 编译错误 -std=gnu++11

    我正在尝试转换一些代码以使用 CUDA 并且我认为我遇到了兼容性问题 我们使用CMake 这些是我使用的 gcc 和 CUDA 版本 gcc version gcc Ubuntu 5 4 0 6ubuntu1 16 04 5 5 4 0 2
  • 如何调试 .NET 运行时中的内部错误?

    我正在尝试调试一些处理大文件的工作 代码本身works 但 NET 运行时本身会报告零星错误 对于上下文 这里的处理是一个 1 5GB 文件 仅加载到内存中一次 在循环中处理和释放 故意尝试重现此否则不可预测的错误 我的测试片段基本上是 t
  • 使用 using 声明时,非限定名称查找如何工作?

    根据 C 标准 这是格式错误还是格式良好 namespace M struct i namespace N static int i 1 using M i using N i int main sizeof i Clang 拒绝它 GCC
  • INotifyPropertyChanged 和 propertyName

    我一直不确定它的含义propertyName实施时INotifyPropertyChanged 所以一般来说你实现INotifyPropertyChanged as public class Data INotifyPropertyChan
  • 如何将 SQL“LIKE”与 LINQ to Entities 结合使用?

    我有一个文本框 允许用户指定搜索字符串 包括通配符 例如 Joh Johnson mit ack on 在使用 LINQ to Entities 之前 我有一个存储过程 该存储过程将该字符串作为参数并执行以下操作 SELECT FROM T
  • 使用未分配的局部变量

    我遇到了一个错误 尽管声明了变量 failturetext 和 userName 错误仍然出现 谁能帮帮我吗 Use of Unassigned local variable FailureText Use of Unassigned lo

随机推荐

  • 在 Python 中访问 GPU 硬件规格?

    我想使用 Numba 或类似的 Python CUDA 包访问各种 NVidia GPU 规范 可用设备内存 二级缓存大小 内存时钟频率等信息 来自阅读这个问题 https stackoverflow com questions 48654
  • 重启Kubernetes集群后RabbitMQ启动失败

    我在 Kubernetes 上运行 RabbitMQ 这是我的 sts YAML 文件 apiVersion v1 kind Service metadata name rabbitmq management labels app rabb
  • python float 格式奇怪吗?

    我正在尝试调试两个执行非常相似代码的不同 python 脚本 这些脚本设置a 这是一个简单的浮点数 对于脚本 1 ipdb gt print sys version 2 7 r27 82500 Jul 15 2010 13 04 38 GC
  • Amazon S3 的访问被拒绝错误

    我在使用 Amazon S3 时遇到 访问被拒绝 错误 但无法找出原因 我的设置如下 STATIC URL http s3 amazonaws com s AWS STORAGE BUCKET NAME 什么会导致访问被拒绝错误 我已经验证
  • Masonry 的 CSS 系统替代方案

    我记得有一个 CSS 网格系统可以替代 Masonry Vanilla http masonry desandro com http masonry desandro com 该网站是黑色背景并显示 排列彩色框 元素周期表元素 它还具有基于
  • 为什么 include Guard 不让循环 #include 起作用?

    我有三门课 GameEvents Physics and GameObject 我有每个人的标题 GameEvents有一个Physics和一个列表GameObjects Physics有一个列表GameObjects 注意循环依赖 我正在
  • While 与 Do While

    Merged https meta stackexchange com questions 158066 what is a merged question with 测试循环在顶部还是底部 while 与 do while 关闭 ques
  • 现代芯片上的浮点与整数运算性能

    考虑加法模型上的维特比解码器 它花时间进行添加和比较 现在 考虑两种 一种是 C C float作为数据类型 另一个与int 在现代芯片上 你会期望int跑得比float 或者管道的奇迹 以及没有乘法和除法 会让一切变得均匀吗 取决于你的意
  • Cobertura“无法找到文件”问题

    谁能帮我理解这里出了什么问题吗 我正在使用 Cobertura 1 9 4 1 进行 Java 代码覆盖 我想附加带有 HTML 报告的源文件 我使用以下命令生成报告 cobertura report sh format html data
  • 如何改变HTML5进度条的颜色

    我有 HTML 进度条 其值动态变化
  • 如何配置EasyMock类扩展3.1?

    我想将 EasyMock 类扩展 3 1 添加到我的项目中 但 EasyMock 3 1 CE 的依赖项存在问题 我添加依赖项 cglib 2 2 2 jar 和 asm 4 0 jar 并引发异常 java lang VerifyErro
  • HttpClient 在 Blazor Web assembly 应用程序中的请求中不包含 cookie

    我有一个 Blazor Web assembly 应用程序 其中包含一个用户服务 旨在访问 API 来检索用户的详细信息 该服务如下所示 public class UserDataService IUserDataService publi
  • Delphi:TFrame错误没有可插入的帧

    我碰巧发现 Delphi XE6 IDEforgot全部TFrame我过去创造的后代 更具体地说 当我单击 标准 gt 框架 时 选择框架的对话框不再显示 相反 它显示以下错误消息 没有可插入的框架 可以从 文件 新建 其他 选择中创建新框
  • 使用继承正确扩展 tkinter 小部件

    我对 python 类有点陌生 我还不知道如何很好地处理它们 我保证我已经做了一些研究来解决这个问题 但仍然不知道如何解决 所以 事情是这样的 我正在尝试使用 python 类来定义 tkinter 小部件 这样我就可以相当快地实现它们 这
  • NSZombies 正在吃我应用程序的大脑!

    我遇到了保留 释放问题 我的视图非常复杂 因此我将 NSZombieEnabled 设置为 YES 并试图准确地找到哪个对象引起了我的悲伤 为了加快这个过程 我想知道是否有提示或技巧可以追踪僵尸回到他们挖出的坟墓 抱歉 不得不 或者回到与他
  • 无法启动“npm”:确保“npm”已安装并且可以找到

    在 Visual Studio 2019 v16 4 1 中 当尝试运行安装了 React 的 ASP NET Core Web 应用程序时 我在加载网页中收到错误 Failed to start npm Ensure that npm i
  • 有没有代码辅助编辑器?

    如何在 d3 库中使用代码辅助 aptana 或任何东西 我尝试使用 Aptana 但它不可用 对于 Aptana 3 中的代码帮助 在主菜单中选择 窗口 然后转到 首选项 选择 Aptana Studio 内容辅助 查看自动显示内容辅助
  • AttributeError:“Series”对象没有属性“iterrows”

    accounts pd read csv C New export txt sep dtype number object accounts columns Number F for i j in accounts Number iterr
  • Python Azure SDK:使用 list_blobs 获取超过 5000 个结果

    我在使用 Python Azure SDK 时遇到问题 并且在 Stack Overflow 和 Msdn 论坛上都没有找到任何内容 我想使用 Azure SDK list blobs 获取 blob 列表 超过 5000 个 这是 max
  • c# Image PropertyItems (Metadate) 你如何知道哪个数字是哪个属性?

    我知道 Image PropertyItems 数组保存有关加载图像的所有元数据信息 BUT 你怎么知道例如ID 20736 是例如的值每张幻灯片的 GIF 时间 是否有所有已知 ID 的列表或其他内容 我还没有找到任何东西 此致 是的 有