如何使 Boost::GIL 与 PNG 和 PNG 一起工作JPEG 输入输出?
Boost::GIL 有近乎完美的教程和手册。我发现缺乏有关构建和使用 Boost::GIL 与 PNG 和 Boost::GIL 的指南很麻烦。 JPEG IO。有人有经验或成功做到过吗?请各位好心人指教!谢谢!
编辑:
Boost::GIL has almost perfect tutorial and manual. I find it troublesome to lack guide on building and using Boost::GIL work with PNG & JPEG IO. Does anyone have experience or have successfully did that? Please kindly advise! Thanks!
EDIT:
Answer lies here: http://opensource.adobe.com/wiki/display/gil/Downloads
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经成功地将 GIL 与 JPEG 结合使用。
我假设您已经下载并包含了 boost::gil 标头。
jpeg 库不包含在 boost 库中。
最简单的事情是包含并链接到已分发的 jpeg 库的许多副本之一。我使用的是 wxWidgets ( wxWidgets-2.8.10\src\jpeg )。如果您在磁盘上搜索文件 jconfig.h,您应该会找到一个适合您的已配置和构建的 jpeg 库。
您可以从 http://www.ijg.org/ 下载 jpeg 库源代码,然后您将获得为您的平台配置并构建它。
I have used GIL successfully with JPEG.
I assume that you have downloaded and included the boost::gil headers.
The jpeg library is NOT included in the boost library.
The simplest thing is to include and link to one of the many copies of the jpeg library that are distributed. I use the one with wxWidgets ( wxWidgets-2.8.10\src\jpeg ). If you search your disk for the file jconfig.h, you should find a configured and built jpeg library that will work for you.
You can download the jpeg library source from http://www.ijg.org/ but then you will have to configure it for your platform and build it.