开发者

Is there any simple library I can use to load common format images? [closed]

Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 2 years ago.

开发者_如何学运维 Improve this question

I want a image loader library to help me load images (bmp, jpg, gif, png, and other common format) in Ubuntu using C. I'm writing a opengl program and want to load image to textures. Is there any good choice?


How about OpenCV? This open source project already realise many algorithm and support C/C++ and python. My classmates have done Object recognition project with OpenCV. easy to use~


For simply loading images, OpenCV would be quite an overkill. I strongly recommend DevIL/OpenIL, which is a simple to use and small library that supports many image formats. It's especially suited to OpenGL applications, as the syntax and programming style is heavily oriented on OpenGL's.


I'd recommend the SDL_Image library. Plenty of simple functions for loading and displaying images in there.


Check out the CAPI library. Lightweight and easy to use.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜