{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/fresco/issues/438","labels_url":"https://api.github.com/repos/facebook/fresco/issues/438/labels{/name}","comments_url":"https://api.github.com/repos/facebook/fresco/issues/438/comments","events_url":"https://api.github.com/repos/facebook/fresco/issues/438/events","html_url":"https://github.com/facebook/fresco/issues/438","id":93968756,"number":438,"title":"java.lang.IllegalArgumentException: Requested size is too big","user":{"login":"mrleolink","id":991367,"avatar_url":"https://avatars.githubusercontent.com/u/991367?v=3","gravatar_id":"","url":"https://api.github.com/users/mrleolink","html_url":"https://github.com/mrleolink","followers_url":"https://api.github.com/users/mrleolink/followers","following_url":"https://api.github.com/users/mrleolink/following{/other_user}","gists_url":"https://api.github.com/users/mrleolink/gists{/gist_id}","starred_url":"https://api.github.com/users/mrleolink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrleolink/subscriptions","organizations_url":"https://api.github.com/users/mrleolink/orgs","repos_url":"https://api.github.com/users/mrleolink/repos","events_url":"https://api.github.com/users/mrleolink/events{/privacy}","received_events_url":"https://api.github.com/users/mrleolink/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-09T06:32:42Z","updated_at":"2015-07-09T06:32:42Z","closed_at":null,"body":"Fresco can't not load this very big picture: https://cloud.githubusercontent.com/assets/4621928/6416784/0ee589a2-bea9-11e4-9604-f49b4071c2cc.JPG\r\n\r\nAnd throws this exception:\r\n\r\n```\r\n07-09 15:16:21.096  19539-19564/com.facebook.samples.demo V/unknown:BufferedDiskCache﹕ Successful read from disk cache for https://cloud.githubusercontent.com/assets/4621928/6416784/0ee589a2-bea9-11e4-9604-f49b4071c2cc.JPG\r\n07-09 15:16:21.106  19539-19563/com.facebook.samples.demo V/unknown:NativeMemoryChunkPool﹕ release (free) (object, size) = (42bdba18, 10044022)\r\n07-09 15:16:21.106  19539-19563/com.facebook.samples.demo V/unknown:NativeMemoryChunkPool﹕ Used = (0, 0); Free = (0, 0)\r\n07-09 15:16:21.116  19539-19539/com.facebook.samples.demo V/unknown:AbstractDraweeController﹕ controller 42c08ae0 0: final_failed @ onFailure: failure: java.lang.IllegalArgumentException: Requested size is too big\r\n07-09 15:22:24.816  19539-19545/com.facebook.samples.demo D/dalvikvm﹕ GC_FOR_ALLOC freed 381K, 3% free 17074K/17484K, paused 8ms, total 9ms\r\n```\r\n\r\nThen I tried to resize the image with this code and it worked:\r\n\r\n```java\r\n    ImageRequest request = ImageRequestBuilder.newBuilderWithSource(uri)\r\n            .setResizeOptions(new ResizeOptions(500, 500))\r\n            .build();\r\n    PipelineDraweeController controller = (PipelineDraweeController) Fresco.newDraweeControllerBuilder()\r\n            .setOldController(mBaselineJpegView.getController())\r\n            .setImageRequest(request)\r\n            .build();\r\n    mBaselineJpegView.setController(controller);\r\n\r\n```\r\n\r\nSo I came to a conclusion that Fresco doesn't take care of actual view's size (I'm not so sure though) even when `fresco:actualImageScaleType` is set.\r\n\r\nCould you guys confirm this behavior and  how could I make Fresco take care of it and start loading image after the view is laid out.\r\nThanks!"}}