Search found 4 matches

by hanskallor
Thu Mar 14, 2019 7:14 pm
Forum: General Discussion
Topic: Image Base64 decoding
Replies: 3
Views: 5207

Re: Image Base64 decoding

Hi, I would expect a much longer string. Not just the few characters. Something like this: BM���������l���(������������������������BGRs���������������������������������������������������������������������������������������������������������������������������������������������������������������������...
by hanskallor
Wed Mar 13, 2019 7:00 pm
Forum: General Discussion
Topic: Image Base64 decoding
Replies: 3
Views: 5207

Image Base64 decoding

Hi, I am receiving an Image base64 encoded and want to decode it on the ESP32. I have this sample image that I want to decode (it is just a simple white image): Qk2CFAAAAAAAAIIAAABsAAAAKAEAAIAAAAABAAEAAAAAAAAUAAATCwAAEwsAAAIAAAACAAAAQkdScwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...
by hanskallor
Wed Mar 06, 2019 7:08 pm
Forum: ESP-IDF
Topic: Send Image via HTTP header
Replies: 1
Views: 4701

Re: Send Image via HTTP header

Hi,

I solved the problem by editing
  1. CONFIG_HTTPD_MAX_REQ_HDR_LEN
in the sdconfig file
by hanskallor
Tue Mar 05, 2019 6:19 pm
Forum: ESP-IDF
Topic: Send Image via HTTP header
Replies: 1
Views: 4701

Send Image via HTTP header

Hi Forum, I want to receive an image via http in my server. to get the length of my header value I use: size_t httpd_req_get_hdr_value_len(httpd_req_t *r, const char *field) my problem is that the value is to long and my server throws an error (the Headers field is to long) W (17168) httpd_parse: pa...