Skip to content
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

Images with color profile sRGB IEC61966-2.1 don't display (Android) #21839

Closed
3 tasks done
TheRohitSharma opened this issue Oct 18, 2018 · 2 comments
Closed
3 tasks done
Labels
Platform: Android Android applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@TheRohitSharma
Copy link

TheRohitSharma commented Oct 18, 2018

Environment

Run react-native info in your terminal and paste its contents here.
Environment:
OS: macOS High Sierra 10.13.6
Node: 8.3.0
Yarn: 1.2.1
npm: 5.3.0
Watchman: 4.9.0
Xcode: Xcode 10.0 Build version 10A255
Android Studio: 3.1 AI-173.4819257

Packages: (wanted => installed)
react: 16.4.0 => 16.4.0
react-native: 0.55.4 => 0.55.4

Description

So I've noticed that certain images don't load when I test on an Android device, but they do load fine in the emulator. The only thing I've noticed these images having in common is that they have a color profile of sRGB IEC61966-2.1, which I don't think is a coincidence. The images in question are also .PNGs. Is there any known fix for this? Or is it at least fixed in RN 57?

screen shot 2018-10-17 at 3 19 06 pm

My target and compile versions are 27.

Reproducible Demo

Try to render any image with the color profile sRGB IEC61966-2.1, such as the one below.

testimage

@react-native-bot
Copy link
Collaborator

It looks like you are using an older version of React Native. Please update to the latest release, v0.57 and verify if the issue still exists.

The ":rewind:Old Version" label will be removed automatically once you edit your original post with the results of running react-native info on a project using the latest release.

@react-native-bot react-native-bot added the Ran Commands One of our bots successfully processed a command. label Nov 2, 2018
@react-native-bot
Copy link
Collaborator

I am closing this issue because it does not appear to have been verified on the latest release, and there has been no followup in a while.

If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here.

@facebook facebook locked as resolved and limited conversation to collaborators Nov 2, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Nov 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: Android Android applications. Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants