{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/fresco/issues/904","labels_url":"https://api.github.com/repos/facebook/fresco/issues/904/labels{/name}","comments_url":"https://api.github.com/repos/facebook/fresco/issues/904/comments","events_url":"https://api.github.com/repos/facebook/fresco/issues/904/events","html_url":"https://github.com/facebook/fresco/issues/904","id":126092944,"number":904,"title":"The fresco 0.7.0 displays progressive JPEG in low quality","user":{"login":"CharlesLin99","id":14235815,"avatar_url":"https://avatars.githubusercontent.com/u/14235815?v=3","gravatar_id":"","url":"https://api.github.com/users/CharlesLin99","html_url":"https://github.com/CharlesLin99","followers_url":"https://api.github.com/users/CharlesLin99/followers","following_url":"https://api.github.com/users/CharlesLin99/following{/other_user}","gists_url":"https://api.github.com/users/CharlesLin99/gists{/gist_id}","starred_url":"https://api.github.com/users/CharlesLin99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CharlesLin99/subscriptions","organizations_url":"https://api.github.com/users/CharlesLin99/orgs","repos_url":"https://api.github.com/users/CharlesLin99/repos","events_url":"https://api.github.com/users/CharlesLin99/events{/privacy}","received_events_url":"https://api.github.com/users/CharlesLin99/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-12T04:07:33Z","updated_at":"2016-01-13T16:28:28Z","closed_at":"2016-01-13T16:28:28Z","body":"Hi,  I am using fresco 0.7.0 to preview photos and some photos display in low quality and some are right. The photos displays wrong are progressive JPEGs. \r\nOne display snapshot as below,\r\n![low_resolution_in_ceter](https://cloud.githubusercontent.com/assets/14235815/12254555/f52efa94-b924-11e5-8a5a-dcca8a6037db.png)\r\nThe original photo as below,\r\n![359b033b5bb5c9ea0b010379d139b6003bf3b3bd](https://cloud.githubusercontent.com/assets/14235815/12254563/044d69a2-b925-11e5-972d-e5ffade5c1d8.jpg)\r\n\r\n\r\nThe xml code here,\r\n<com.facebook.drawee.view.SimpleDraweeView\r\n    android:id=\"@+id/full_preview_item_image_view\"\r\n    xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n    xmlns:fresco=\"http://schemas.android.com/apk/res-auto\"\r\n    android:layout_width=\"match_parent\"\r\n    android:layout_height=\"match_parent\"\r\n    fresco:actualImageScaleType=\"center\"/>\r\nThe source code here,\r\n simpleDraweeView.setImageURI(Uri.parse(\"file:///storage/emulated/0/Download/359b033b5bb5c9ea0b010379d139b6003bf3b3bd.jpg\"));"},"comment":{"url":"https://api.github.com/repos/facebook/fresco/issues/comments/171351011","html_url":"https://github.com/facebook/fresco/issues/904#issuecomment-171351011","issue_url":"https://api.github.com/repos/facebook/fresco/issues/904","id":171351011,"user":{"login":"michalgr","id":632455,"avatar_url":"https://avatars.githubusercontent.com/u/632455?v=3","gravatar_id":"","url":"https://api.github.com/users/michalgr","html_url":"https://github.com/michalgr","followers_url":"https://api.github.com/users/michalgr/followers","following_url":"https://api.github.com/users/michalgr/following{/other_user}","gists_url":"https://api.github.com/users/michalgr/gists{/gist_id}","starred_url":"https://api.github.com/users/michalgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalgr/subscriptions","organizations_url":"https://api.github.com/users/michalgr/orgs","repos_url":"https://api.github.com/users/michalgr/repos","events_url":"https://api.github.com/users/michalgr/events{/privacy}","received_events_url":"https://api.github.com/users/michalgr/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T16:28:28Z","updated_at":"2016-01-13T16:28:28Z","body":"Try version 0.8.1, I think this is fixed by https://github.com/facebook/fresco/commit/b1f83c9d9d441da96b637a3c55e04348a12ee49e. When you load jpeg from disk Fresco will first check if the jpeg contains exif thumbnail. If the thumbnail is big enough it will be used instead. The diff I pointed to fixes the number that thumbnail's size is compared with if no expected dimensions are provided (was -1 previously :))"}}