开发者

Reading and displaying an image using C++

开发者 https://www.devze.com 2023-02-12 23:30 出处:网络
I\'m actually new t开发者_运维知识库o this, and just want to ask about how can we read and display a digital 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

0

精彩评论

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