Simplicity
Simplicity

Reputation: 48916

Reading and displaying an image using C++

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

Answers (2)

BЈовић
BЈовић

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

Armen Tsirunyan
Armen Tsirunyan

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

Related Questions