Reputation: 48916
I'm actually new to this, and just want to ask about how can we read
and display
a digital image using C++?
Thanks.
Upvotes: 1
Views: 647
Reputation: 64203
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
Upvotes: 1
Reputation: 132974
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.
Upvotes: 1