I want to upload a bitmap to a php server through HTTP / POST. I saw some solutions, which used base64 encoding to POST the image, but in my eyes this approach seems a bit inconsistent. Are there better ways to upload the image?
Best regards, Lukas
I want to upload a bitmap to a php server through HTTP / POST. I saw some solutions, which used base64 encoding to POST the image, but in my eyes this approach seems a bit inconsistent. Are there better ways to upload the image?
Best regards, Lukas
If you are using bitmap class, then change the value of 100
bitmap.compress(Bitmap.CompressFormat.JPEG, 100, out);
else place your code.
hope this work.