{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/9652","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/9652/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/9652/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/9652/events","html_url":"https://github.com/facebook/react-native/pull/9652","id":173893037,"number":9652,"title":"[Android] Enable developers to force Fresco to resize an image","user":{"login":"rigdern","id":199935,"avatar_url":"https://avatars.githubusercontent.com/u/199935?v=3","gravatar_id":"","url":"https://api.github.com/users/rigdern","html_url":"https://github.com/rigdern","followers_url":"https://api.github.com/users/rigdern/followers","following_url":"https://api.github.com/users/rigdern/following{/other_user}","gists_url":"https://api.github.com/users/rigdern/gists{/gist_id}","starred_url":"https://api.github.com/users/rigdern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rigdern/subscriptions","organizations_url":"https://api.github.com/users/rigdern/orgs","repos_url":"https://api.github.com/users/rigdern/repos","events_url":"https://api.github.com/users/rigdern/events{/privacy}","received_events_url":"https://api.github.com/users/rigdern/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react-native/labels/CLA%20Signed","name":"CLA Signed","color":"e7e7e7"},{"url":"https://api.github.com/repos/facebook/react-native/labels/GH%20Review:%20review-needed","name":"GH Review: review-needed","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"foghina","id":412054,"avatar_url":"https://avatars.githubusercontent.com/u/412054?v=3","gravatar_id":"","url":"https://api.github.com/users/foghina","html_url":"https://github.com/foghina","followers_url":"https://api.github.com/users/foghina/followers","following_url":"https://api.github.com/users/foghina/following{/other_user}","gists_url":"https://api.github.com/users/foghina/gists{/gist_id}","starred_url":"https://api.github.com/users/foghina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foghina/subscriptions","organizations_url":"https://api.github.com/users/foghina/orgs","repos_url":"https://api.github.com/users/foghina/repos","events_url":"https://api.github.com/users/foghina/events{/privacy}","received_events_url":"https://api.github.com/users/foghina/received_events","type":"User","site_admin":false},"assignees":[{"login":"foghina","id":412054,"avatar_url":"https://avatars.githubusercontent.com/u/412054?v=3","gravatar_id":"","url":"https://api.github.com/users/foghina","html_url":"https://github.com/foghina","followers_url":"https://api.github.com/users/foghina/followers","following_url":"https://api.github.com/users/foghina/following{/other_user}","gists_url":"https://api.github.com/users/foghina/gists{/gist_id}","starred_url":"https://api.github.com/users/foghina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foghina/subscriptions","organizations_url":"https://api.github.com/users/foghina/orgs","repos_url":"https://api.github.com/users/foghina/repos","events_url":"https://api.github.com/users/foghina/events{/privacy}","received_events_url":"https://api.github.com/users/foghina/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-08-29T23:02:14Z","updated_at":"2016-09-08T22:32:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/react-native/pulls/9652","html_url":"https://github.com/facebook/react-native/pull/9652","diff_url":"https://github.com/facebook/react-native/pull/9652.diff","patch_url":"https://github.com/facebook/react-native/pull/9652.patch"},"body":"Here's a little background. Resizing is inferior to scaling. See http://frescolib.org/docs/resizing-rotating.html#_\r\n    \r\nCurrently, React Native has a heuristic to use resize when the image is likely to be from the device's camera. However, there may be other cases where a developer wants to use resize. For example, when the developer knows they'll be downloading a large image from a service but the image will be rendered at a small size on the device.\r\n    \r\nThis change adds a `resizeMethod` prop to the `Image` component so developers can choose how Fresco resizes the image. The options are 'auto', 'resize', or 'scale'. When 'auto' is specified, a heuristic is used to choose between 'resize' and 'scale'. The default value is 'auto'.\r\n\r\n**Test plan (required)**\r\n\r\nIn a small test app, verified that the `resizeMethod` prop properly influences the mechanism that is used to resize the image (e.g. resize or scale).\r\n\r\nAdam Comella\r\nMicrosoft Corp."},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/245762560","html_url":"https://github.com/facebook/react-native/pull/9652#issuecomment-245762560","issue_url":"https://api.github.com/repos/facebook/react-native/issues/9652","id":245762560,"user":{"login":"mkonicek","id":346214,"avatar_url":"https://avatars.githubusercontent.com/u/346214?v=3","gravatar_id":"","url":"https://api.github.com/users/mkonicek","html_url":"https://github.com/mkonicek","followers_url":"https://api.github.com/users/mkonicek/followers","following_url":"https://api.github.com/users/mkonicek/following{/other_user}","gists_url":"https://api.github.com/users/mkonicek/gists{/gist_id}","starred_url":"https://api.github.com/users/mkonicek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkonicek/subscriptions","organizations_url":"https://api.github.com/users/mkonicek/orgs","repos_url":"https://api.github.com/users/mkonicek/repos","events_url":"https://api.github.com/users/mkonicek/events{/privacy}","received_events_url":"https://api.github.com/users/mkonicek/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T22:32:20Z","updated_at":"2016-09-08T22:32:20Z","body":"Added one small comment regarding docs."}}
{"actor":{"display_login":"mkonicek"}}