I have a Bitmap image that I want to send using the Socket class. The Bitmap needs to be sent from the Android client to a server. The server is a C++ program. How do I this?
I was looking at Android's Bitmap class here. But it doesn't really talk about it.
Also how do I decode this Bitmap on the server side? The server is running a OpenCV program and I need to interpret the Bitmap as an IplImage (IplImage is an OpenCV struct that represents an image). If I have a image buffer, I can set IplImage to point to this buffer.