Display IplImage in webbrowsers
Hi people,
I'm currently building a small personal project in c++ on a linux server and i am facing a problem i can't solve myself.
I would like to know if it was possible to display in a web browser an IplImage image.
I first thought i would be able to convert it in png and then encode it in base64 and finally display it with a simple cout<<
But i can't figure how to do so. So i would like to know if someone could guide me trough or if there is a simpler way of doing.
Many thanks for your time and help. Cheers to everyone ;)
PS: i precise that i'm not at all an expert in c++. I used to practice it a lot at school, but it's a long time ago now ;)
Why don't you save the image in PNG and display it in html? (may be I don't understand the question...)
Thank's for answering, but your trick won't do. The purpose of my program is very simple. The user will give me an array containing 0 and 1, and i will convert it in an image that can be displayed in web browsers. ;)