Skip to content
>sdcb.ai
Microsoft MVP · 2023 – present

ServingdotNET,constructingbrilliance.

I'm ZHOU Jie, a Microsoft MVP since 2023 and author of the “.NET骚操作” blog. For over a decade I've been bringing OCR, LLMs, media and high-performance computing to .NET — and now even the image codecs, the inference engine andGMP-class arbitrary precision are pure C#.

Decode.cs
// Sdcb.SimdCodecs —— image decoding, zero native deps
byte[] file = File.ReadAllBytes("IMG_0001.heic");  // HEIC · JPEG · PNG · WebP · TIFF · JP2 · JBIG2 …

// any pixel layout, turned upright, scaled 1/2–1/8 if you like
using PixelBuffer image = ImageCodecs.Decode(file, PixelFormat.Bgra32,
    new DecodeOptions { ApplyOrientation = true, ScaleDenominator = 4 });

// encode through the same facade, ICC / Exif carried along
ImageCodecs.Encode(image.Pixels, image.Width, image.Height, image.Format,
    ImageFormat.Webp, output, stride: image.Stride, metadata: image.Metadata);
JPEG, PNG, WebP, TIFF, JPEG 2000 and JBIG2 images, all decoded by Sdcb.SimdCodecs
JPEG 0.82× libjpeg-turbo · 0 B alloc · 0 native deps
Open the TIFF / JPEG 2000 / JBIG2 your browser can’t

Now

Just shipped, and in flight

SimdCodecs 2.0

Image codecs in pure managed C#: HEIC, JPEG, PNG, WebP, GIF, TIFF, BMP, ICO, QOI, Netpbm, JPEG 2000 and JBIG2, plus EXIF and ICC. 2.0 puts them behind one ImageCodecs facade: every format decodes to any pixel layout, scaled, cropped or upright, and encodes with its metadata; PNG can even quantize like pngquant. No native DLLs, yet JPEG decoding takes 0.82× libjpeg-turbo’s time.

  • Zero native deps — one NuGet package
  • JPEG decode beats libjpeg-turbo, 0 B alloc
  • HEIC decode: 0.32× libheif on 8 cores
  • PNG decode: 0.88× libpng
  • AVX2 / SSE / AdvSimd · NativeAOT · WASM

Evolution

From binding native runtimes to rewriting the engine in C#

Five years, three answers to the same question: how do .NET developers get the best OCR?

  1. 20212.21M downloads

    PaddleSharp

    Binds the native Paddle Inference runtime

    paddle_inference.dllmkldnnOpenCvSharp
  2. 2023208.4k downloads

    OpenVINO.NET

    Binds the native Intel OpenVINO™ runtime

    openvino.dlltbbOpenCvSharp
  3. 202627.8k downloads

    SimdPaddleOCR

    The inference engine itself is C#

    zero native deps

Open source

Libraries people actually ship

All projects

Community

Come hang out

Three QQ groups, five WeChat groups and an official account — mostly Chinese-speaking. Questions, ideas, or just lurking — all welcome.

Join the community
  • .NET骚操作 (general .NET)QQ 495782587Join
  • C#/.NET Computer VisionQQ 579060605Join
  • Sdcb ChatsQQ 498452653Join
ZHOU Jie

From a C++ programmer writing Direct2D in 2013 to a .NET developer hand-writing SIMD inference kernels today. I believe C# can do far more than most people think — every project on this site is an attempt to prove it.

About me