+ 1

how to put an image in the program in c ++?

anyone who helps would be good

16th Mar 2019, 4:27 AM
Warlyson Machado
Warlyson Machado - avatar
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); ______________________________
17th Mar 2019, 9:16 AM
Max Andal
Max Andal - avatar
0
Really thank you,bud opencv gives for schedule????
17th Mar 2019, 2:27 PM
Warlyson Machado
Warlyson Machado - avatar