[英]Load bitmap file (.bmp)
I noticed the boost::gil::extension::io only supports png or jpeg files.. While this is often enough I'm wondering how to load a bitmap (*.bmp) file into an image? 我注意到boost :: gil :: extension :: io仅支持png或jpeg文件。虽然这足够了,但我想知道如何将位图(* .bmp)文件加载到图像中? Shouldn't this be actually easier than jpeg etc?
这实际上不应该比jpeg等容易吗?
Hopefully you solved it. 希望你解决了。 Just to add: install latest version of GIL on existing boost and then compile.
只需添加:在现有的boost上安装最新版本的GIL,然后进行编译。 The bitmap files comes under new 'io_new' folder.
位图文件位于新的“ io_new”文件夹下。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.