We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example: this png is returned with a Transfer-Encoding: chunked header and M5GFX can't render it with drawPngUrl.
Transfer-Encoding: chunked
drawPngUrl
This happens because each chunk in the tcp stream has a chunk-header (chunkLength\r\n) and a trailer (\r\n), but the drawImg##Url function does not take this into account so it thinks the stream is not a valid PNG and cannot render it. M5GFX should do something like https://github.com/espressif/arduino-esp32/blob/ee8931d151665ffc6bb52e3edb9509a6d8e5c401/libraries/HTTPClient/src/HTTPClient.cpp#L885-L934 to make sure images that get sent with chunks can be rendered.
chunkLength\r\n
\r\n
drawImg##Url
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Example: this png is returned with a
Transfer-Encoding: chunked
header and M5GFX can't render it withdrawPngUrl
.This happens because each chunk in the tcp stream has a chunk-header (
chunkLength\r\n
) and a trailer (\r\n
), but thedrawImg##Url
function does not take this into account so it thinks the stream is not a valid PNG and cannot render it. M5GFX should do something like https://github.com/espressif/arduino-esp32/blob/ee8931d151665ffc6bb52e3edb9509a6d8e5c401/libraries/HTTPClient/src/HTTPClient.cpp#L885-L934 to make sure images that get sent with chunks can be rendered.The text was updated successfully, but these errors were encountered: