Skip to main content
no need to say thanks: https://meta.stackexchange.com/q/2950/997587
Source Link
starball
  • 59.6k
  • 52
  • 314
  • 1k

I wantedwant to know which is the best way to upload image to server without loosinglosing its quality. I

I have searched on google found various methods of posting data. But I am not sure which one would be best to upload. I came across:

  1. Multipart Image Upload.
  2. Uploading images using byte array
  3. Uploading images using base64 encoded string.

I have tried Base64 encoding it leads me to OOM(Out of memory) if image is too high in resolution. Any tutorial which tackle this issue would be appreciated. Thanks in advance.

I wanted to know which is the best way to upload image to server without loosing its quality. I have searched on google found various methods of posting data. But I am not sure which one would be best to upload. I came across

  1. Multipart Image Upload.
  2. Uploading images using byte array
  3. Uploading images using base64 encoded string.

I have tried Base64 encoding it leads me to OOM(Out of memory) if image is too high in resolution. Any tutorial which tackle this issue would be appreciated. Thanks in advance.

I want to know which is the best way to upload image to server without losing its quality.

I have searched on google found various methods of posting data. But I am not sure which one would be best to upload. I came across:

  1. Multipart Image Upload.
  2. Uploading images using byte array
  3. Uploading images using base64 encoded string.

I have tried Base64 encoding it leads me to OOM(Out of memory) if image is too high in resolution.

Source Link
Manoj
  • 2.8k
  • 6
  • 34
  • 52

Uploading Images to Server android

I wanted to know which is the best way to upload image to server without loosing its quality. I have searched on google found various methods of posting data. But I am not sure which one would be best to upload. I came across

  1. Multipart Image Upload.
  2. Uploading images using byte array
  3. Uploading images using base64 encoded string.

I have tried Base64 encoding it leads me to OOM(Out of memory) if image is too high in resolution. Any tutorial which tackle this issue would be appreciated. Thanks in advance.