Does C# have a JPEG compressed stream reader?

I need to read a JPEG compressed stream of data parts at a time. I've found a few libraries that implement JPEG file reading 1. under restrictive licensing and 2. usually expect the whole file. Is there something copy-pastable/ installable with MIT licensing that I can use here? My current plan is just to port this https://github.com/geotiffjs/geotiff.js/blob/master/src/compression/jpeg.js to C#
GitHub
geotiff.js is a small library to parse TIFF files for visualization or analysis. It is written in pure JavaScript, and is usable in both the browser and node.js applications. - geotiffjs/geotiff.js
Was this page helpful?