WSQ extractor for .NET Core. I've adapted the code from https://www.codeproject.com/Tips/429481/WSQ-to-BMP-converter to .NET Core.
IWsqDecoder wsq = new WsqDecoder();
var bmp = wsq.Decode(wsqByteArray);
BenchmarkDotNet=v0.10.11, OS=Windows 10 Redstone 2 [1703, Creators Update] (10.0.15063.786)
Processor=Intel Core i7-3770 CPU 3.40GHz (Ivy Bridge), ProcessorCount=8
Frequency=3312785 Hz, Resolution=301.8608 ns, Timer=TSC
.NET Core SDK=2.1.2
[Host] : .NET Core 2.0.3 (Framework 4.6.25815.02), 64bit RyuJIT
DefaultJob : .NET Core 2.0.3 (Framework 4.6.25815.02), 64bit RyuJIT
Method | Mean | Error | StdDev |
---|---|---|---|
DecodeWSQ | 175.0 ms | 0.4837 ms | 0.4039 ms |