Convert Image into Data form

Hello,

I want to upload the image from library or camera.

I know how to open image from library and from camera

But i want to convert it into DATA form as we can we do in Objective C.

I want to convert image into data forms because i want to send it to my server to store.

is any conversion available in corona also.

 iF not can any one suggest me another method.

Thanks in advance 

I think this post can help you, from which you can find source code. :smiley:

http://stackoverflow.com/questions/934012/get-image-data-in-javascript/image-conversion

http://stackoverflow.com/questions/21500339/storing-image-in-data-base-using-java-in-binary-format

I think this post can help you, from which you can find source code. :smiley:

http://stackoverflow.com/questions/934012/get-image-data-in-javascript/image-conversion

http://stackoverflow.com/questions/21500339/storing-image-in-data-base-using-java-in-binary-format