问题标签 [microsoft-tag]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c# - 位图到 int[]
我正在尝试在 Windows 表单中使用 Microsoft Tag,但在尝试使用ScanFromFrame
.
我有一个来自 Windows Phone 的示例,用于TagContext.Current.ScanFromFrame
在相机源中查找标签。我的问题是ScanFromFrame
需要ImageToDecode
一个int[]
. 在 Forms 我有一个BitMap
,但不知道如何将其转换为int[]
.
你们有没有人使用过带有位图的 TagContext,或者你知道我应该如何以及是否应该将它转换为 int 数组?