tags:

views:

114

answers:

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.

A: 

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

Yin Zhu
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
+3  A: 

see LibJpeg.NET by Bit Miracle.

allonym
Perfect! Thanks. My google skills seem to be lacking today.
David Crowell