+ 1
how to put an image in the program in c ++?
anyone who helps would be good
2 Answers
+ 4
In c++ (without any extra library) you may open an image. But there will be nothing particularly useful except a bunch of binary data. then you have to use your own decoder If you use opencv you can write to open an image and display it:
______________________________
Mat m("fileName"); imshow("windowName",m);
______________________________
0
Really thank you,bud opencv gives for schedule????