有人将 IJG JPEG 代码移植到 C# 吗?

发布于 2024-09-02 20:55:28 字数 174 浏览 3 评论 0原文

有人将 IJG JPEG 代码移植到 C# 吗?是否有任何具有可用源的纯托管 JPEG 库?我不太关心许可证,因为我只是想将其用作学习体验,而不是实际使用它。性能也不是一个大问题。

我意识到BCL有读写JPEG文件的方法,这主要是为了满足我的好奇心,并且有一个新玩具可以玩。

F# 中的实现也很有趣。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

情魔剑神 2024-09-09 20:55:28

请参阅 Bit Miracle 的 LibJpeg.NET

see LibJpeg.NET by Bit Miracle.

也只是曾经 2024-09-09 20:55:28

如何使用 C++/CLI 通过使用 cli:pure 编译选项来包装 C++ 库。应该是直截了当的。

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文