Reading and displaying an image using C++
I'm actually new t开发者_运维知识库o this, and just want to ask about how can we read
and display
a digital image using C++?
Thanks.
There are very many ways to do it... depending on which framework you use. in Qt, ehich is my favourite, you have the QImage
class, responsible for such things.
Off course by using a library. It all depends on what you are allowed to use.
If you can use Qt, then use QImage. If you can use opengl, then load image data into a texture and render the texture. etc
I am sure there are at least 10 other methods how to do it
精彩评论