-
-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Image component doesn't display images #262
Comments
Looks like the only supported image format out of the box is PNG. JPEG and GIFs are not recognized. |
Your example seems to work for me. I other tried JPGs and GIFs as well. GIF animation doesn't seem to work, but everything else works. Could you post the full code and make sure you don't have any network troubles? Try downloading it and loading it locally. |
Are you on macOS? |
I tested on Linux, but I can confirm its an issue on Mac. Seems like I need to include qjpeg with Qt: https://forum.qt.io/topic/1003/jpeg-support/4 |
Yeah, that was exactly my impression, that on macOS only PNGs are supported out of the box. |
Hello, this problem occurs with me in Window. Here my code I go to node_modules\proton-native\bin\components\image.js => updateProps => source => console.log download data |
Describe the bug
Specifying any type of a resource (either URL or local file system path) for
Image
component doesn't display pixel data on a screen.Node process prints the following
To Reproduce
Expected behavior
Image
component should display loaded pixel dataVersions:
The text was updated successfully, but these errors were encountered: