2

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.

David Crowell
  • 3,711
  • 21
  • 28

2 Answers2

3

see LibJpeg.NET by Bit Miracle.

allonym
  • 1,408
  • 10
  • 18
0

How about use C++/CLI to wrapper a C++ library by using cli:pure compiling option. Should be straight forward.

Yin Zhu
  • 16,980
  • 13
  • 75
  • 117
  • Well, I really want a fully C# (or F#) solution. It doesn't need to be fast. I just want to use it as a learning experience. I've read the IJG code before. It's messy. :) – David Crowell May 27 '10 at 15:36