What is the Camera's event.media file type
Is it a .jpg, .png, or just a blob image that needs to be saved as a file with an extension?
I am trying to send the event.media file to a server, but it seems to only accept files with extensions.
3 Answers
-
It is a binary image file, I am able to save it pretty easily with ColdFusion
<cfimage action="write" source="#params.media#" destination="#loc.destination#" />
Notice I am passing the params.media directly as a source
-
Thanks Raul.
I'm trying to save the file upload with a php file.
$tmp = $_FILES['image'];
…
-
i think that the file-system of mobile-machine does not the same as pc,so it doesn't has extension,it's just a binary file