-
Notifications
You must be signed in to change notification settings - Fork 27.4k
New issue
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
Cannot decode JPEG on flutter web #151273
Comments
Reproducible using the code sample in the repo provided above. This issue only occurs with the canvaskit renderer. It works just fine with the html renderer.
This could be a duplicate of either #140689 or #105985 but I did not see any errors in my console or logs so I cannot say that for sure. Labeling for further insight flutter doctor -v
|
I am getting the placeholder image that i have been using in chrome. but it shows just fine in mobile. Any updates regarding this issue? |
Steps to reproduce
jpeg_bug/assets/badJpeg.jpg
renders fine on desktop and mobile, but shows as a black rectangle on web (Chrome).Expected results
The JPEG image at path
jpeg_bug/assets/badJpeg.jpg
in this project should render normally in a web application.Actual results
The JPEG image at path
jpeg_bug/assets/badJpeg.jpg
in this project should renders as a black rectangle.Code sample
Code available here.
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: