{"action":"created","issue":{"url":"https://api.github.com/repos/ptmt/react-native-desktop/issues/94","repository_url":"https://api.github.com/repos/ptmt/react-native-desktop","labels_url":"https://api.github.com/repos/ptmt/react-native-desktop/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/ptmt/react-native-desktop/issues/94/comments","events_url":"https://api.github.com/repos/ptmt/react-native-desktop/issues/94/events","html_url":"https://github.com/ptmt/react-native-desktop/issues/94","id":159815907,"number":94,"title":"How to keep all representations when loading a image via <Image source={{uri:'...'}}/>?","user":{"login":"beretboat","id":4593681,"avatar_url":"https://avatars.githubusercontent.com/u/4593681?v=3","gravatar_id":"","url":"https://api.github.com/users/beretboat","html_url":"https://github.com/beretboat","followers_url":"https://api.github.com/users/beretboat/followers","following_url":"https://api.github.com/users/beretboat/following{/other_user}","gists_url":"https://api.github.com/users/beretboat/gists{/gist_id}","starred_url":"https://api.github.com/users/beretboat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beretboat/subscriptions","organizations_url":"https://api.github.com/users/beretboat/orgs","repos_url":"https://api.github.com/users/beretboat/repos","events_url":"https://api.github.com/users/beretboat/events{/privacy}","received_events_url":"https://api.github.com/users/beretboat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-12T08:41:34Z","updated_at":"2016-06-14T07:16:31Z","closed_at":null,"body":"When loading a **local** image with multiple representations(an .icns icon, for example) via `<Image source={{uri:'...'}} />`, only the first representation will be kept, all other representations will be abandoned. Is there a good solution to avoid that? I looked into the code a little bit but not sure how to do that without breaking current image decoding mechanism.\r\n\r\nPS: I know using `<Image source={require('...')}  />` fashion will keep all representations, but I can't use this because I don't have image paths until runtime and `require('...')` needs a static string."},"comment":{"url":"https://api.github.com/repos/ptmt/react-native-desktop/issues/comments/225798695","html_url":"https://github.com/ptmt/react-native-desktop/issues/94#issuecomment-225798695","issue_url":"https://api.github.com/repos/ptmt/react-native-desktop/issues/94","id":225798695,"user":{"login":"beretboat","id":4593681,"avatar_url":"https://avatars.githubusercontent.com/u/4593681?v=3","gravatar_id":"","url":"https://api.github.com/users/beretboat","html_url":"https://github.com/beretboat","followers_url":"https://api.github.com/users/beretboat/followers","following_url":"https://api.github.com/users/beretboat/following{/other_user}","gists_url":"https://api.github.com/users/beretboat/gists{/gist_id}","starred_url":"https://api.github.com/users/beretboat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beretboat/subscriptions","organizations_url":"https://api.github.com/users/beretboat/orgs","repos_url":"https://api.github.com/users/beretboat/repos","events_url":"https://api.github.com/users/beretboat/events{/privacy}","received_events_url":"https://api.github.com/users/beretboat/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T07:16:31Z","updated_at":"2016-06-14T07:16:31Z","body":"Please see the image-representations-test I just pushed.\r\nI'm loading an single icns(which has multiple representations embedded) image like this:\r\n`<Image source={{uri:'/path/to/image.icns'}} />`"}}
{"actor":{"display_login":"beretboat"}}