camera expo base64 image send via http return 413 request entity too large

52 views Asked by At

I'm developing an app that uses the Expo Camera library for user account creation. The Expo Camera library automatically converts images to Base64 format internally. However, I'm facing challenges when attempting to send these Base64-encoded images to an API endpoint due to their large size. What are some strategies I can use to efficiently send these images to the API? base64 generate from expo camera : Log return I try to config quality on expo camera to 0, but dont work

1

There are 1 answers

0
Jaime Lima Neto On

Do you can use the PICA to resize the image and compress. If you want to send by base64-encoded