Hi All,
I explain my problem, there is a way to convert an image displayable in a data object. in other word does exist the opposite of maCreateImageFromData?
Thanks
Hi All,
I explain my problem, there is a way to convert an image displayable in a data object. in other word does exist the opposite of maCreateImageFromData?
Thanks
Just to be more clear, my purpose is to send an image via http. This image is taken via capture API (not camera API) so it's not a data object, it's a displayable image. How can i perform this?
Look at this: http://www.mosync.com/content/send-image-using-http-post#comment-13318
//get the global handle
int iSizeImg=maGetDataSize(theHandle);
char *rawData=new char[iSizeImg];
maReadData( theHandle , rawData, 0, iSizeImg);
this works!