Has anyone ported IJG JPEG code to C#? Are there any purely-managed JPEG libraries with source available? I don't much care about the license, as I just want to use it as a learning experience, not actually use it. Performance isn't a huge issue either.
I realize the BCL has ways of reading and writing JPEG files, this is mostly to satisfy my curiosity, and have a new toy to play with.
An implementation in F# would be interesting also.
see LibJpeg.NET by Bit Miracle.